USB: serial: mos7720: remove redundant variables iflag, mask and serial
commit1e2ae1d7e43657f6d1a08a7e52ef85ed735cc538
authorColin Ian King <colin.king@canonical.com>
Fri, 13 Jul 2018 10:08:31 +0000 (13 11:08 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 16 Jul 2018 12:10:00 +0000 (16 14:10 +0200)
tree75d00d017144d5abec6449838b3999045cdac1f6
parent3738c506657f34adbfc860df729b9e38b1567ed4
USB: serial: mos7720: remove redundant variables iflag, mask and serial

Variables iflag, mask and serial are being assigned but are never used
hence are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'iflag' set but not used [-Wunused-but-set-variable]
warning: variable 'mask' set but not used [-Wunused-but-set-variable]
warning: variable 'serial' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7720.c