Remove unused variable serial from tcfinal().

This commit is contained in:
Petter Reinholdtsen 2014-02-07 06:55:53 +00:00
parent b547736c2c
commit fb143cdcb9

View File

@ -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__