tty: serial: 8250: serial_cs: Remove unused/unchecked variable 'err'
authorLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 19:35:27 +0000 (19:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 09:54:04 +0000 (10:54 +0100)
commit32ed248042d1809a5b4d03027432a54edd1bc80a
tree7c09daed0ca91623ca6b9896c73b110c1198e2fe
parent08aa5042d22bb66c90e1833f2119f272863dec87
tty: serial: 8250: serial_cs: Remove unused/unchecked variable 'err'

Fixes the following W=1 kernel build warning(s):

 drivers/tty/serial/8250/serial_cs.c: In function ‘multi_config’:
 drivers/tty/serial/8250/serial_cs.c:562:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: "David A. Hinds" <dahinds@users.sourceforge.net>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-15-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/serial_cs.c