Remove unused variable serial from tcfinal().
This commit is contained in:
@@ -228,12 +228,11 @@ setattr:
|
|||||||
static
|
static
|
||||||
void tcfinal(struct console *con)
|
void tcfinal(struct console *con)
|
||||||
{
|
{
|
||||||
int serial;
|
|
||||||
struct termios *tio = &con->tio;
|
struct termios *tio = &con->tio;
|
||||||
int fd = con->fd;
|
int fd = con->fd;
|
||||||
|
|
||||||
/* Expected error */
|
/* Expected error */
|
||||||
serial = errno = 0;
|
errno = 0;
|
||||||
|
|
||||||
if ((con->flags & CON_SERIAL) == 0) {
|
if ((con->flags & CON_SERIAL) == 0) {
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
Reference in New Issue
Block a user