USB: serial: iuu_phoenix: drop unused URB submission results
authorJohan Hovold <johan@kernel.org>
Wed, 1 Jul 2020 16:53:39 +0000 (18:53 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 2 Jul 2020 08:38:42 +0000 (10:38 +0200)
commit21c2ddc1a91f87aca6465756ee6061158d591b47
tree17033e7b32ed3f939698b2979c7e0f1dd8b53a32
parent00b22b61b78fbf159c6b9119e7e79f22b1583d19
USB: serial: iuu_phoenix: drop unused URB submission results

The driver is submitting URBs in various completion callbacks without
bothering to log errors yet still assigned the return value to temporary
variables. Let's drop those temporaries.

This suppresses the corresponding W=1 (-Wunused-but-set-variable)
warnings.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c