diff options
author | Xiongfeng Wang <wangxiongfeng2@huawei.com> | 2019-12-06 15:37:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-10 14:28:48 +0100 |
commit | e83c6587c47caa2278aa3bd603b5a85eddc4cec9 (patch) | |
tree | 314ee1681fa2405d887f96d361dd3db9c31ceb8d /lib/notifier-error-inject.c | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-e83c6587c47caa2278aa3bd603b5a85eddc4cec9.tar.bz2 |
tty: omap-serial: remove set but unused variable
Fix the following warning:
drivers/tty/serial/omap-serial.c: In function serial_omap_rlsi:
drivers/tty/serial/omap-serial.c:496:16: warning: variable ch set but not used [-Wunused-but-set-variable]
The character read is useless according to the table 23-246 of the omap4
TRM. So we can drop it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Link: https://lore.kernel.org/r/1575617863-32484-1-git-send-email-wangxiongfeng2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions