]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: remove set but not used variable 'error'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Sep 2018 01:59:16 +0000 (01:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 11:33:15 +0000 (13:33 +0200)
commitef943da241c059867d819772659c2738a705b88e
treeb21cdd6b0549ac79f500a52f75c3bd5f976033dc
parent125d6a63088d62e775b71162d9137447c3f428a0
tty: serial: remove set but not used variable 'error'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/tty/serial/pmac_zilog.c: In function 'pmz_receive_chars':
drivers/tty/serial/pmac_zilog.c:222:30: warning:
 variable 'error' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pmac_zilog.c