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