]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pch_uart: remove set but not used variable 'tx_empty'
authorzhong jiang <zhongjiang@huawei.com>
Tue, 23 Oct 2018 13:21:34 +0000 (21:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 17:07:17 +0000 (09:07 -0800)
commit114c97cee6d37787135bd548bbd55c283463ac62
treed53230f55461bc61f5b529668b142f52a1559b69
parent7034ef87fa880defb4cfc2ca552641d26f425f21
pch_uart: remove set but not used variable 'tx_empty'

tx_empty is not used after setting its value. It is safe to remove
the unused variable.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c