aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/usb/serial.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-03-27 23:27:44 +0000
committerJohan Hovold <johan@kernel.org>2021-04-01 09:53:14 +0200
commit315e2811f58b807e6e76b7385e3d7b970f4562d2 (patch)
tree97986d1783a203f3bcff6bc6f172acdeeb84db3f /include/linux/usb/serial.h
parentUSB: serial: pl2303: TA & TB alternate divider with non-standard baud rates (diff)
downloadwireguard-linux-315e2811f58b807e6e76b7385e3d7b970f4562d2.tar.xz
wireguard-linux-315e2811f58b807e6e76b7385e3d7b970f4562d2.zip
USB: serial: iuu_phoenix: remove redundant variable 'error'
The variable error is initialized to 0 and is set to 1 this value is never read as it is on an immediate return path. The only read of error is to check it is 0 and this check is always true at that point of the code. The variable is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/usb/serial.h')
0 files changed, 0 insertions, 0 deletions