summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/janz-cmodio.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-10-26 14:25:49 +0200
committerJohan Hovold <johan@kernel.org>2018-11-12 10:35:14 +0100
commit32d8a6fc5bd62769c7fa60818e0a32bd5126a565 (patch)
tree70bd6331800d23eb854cd1128fa8cd9861731fa1 /drivers/mfd/janz-cmodio.c
parentUSB: serial: quatech2: remove set but not used variable 'port_priv' (diff)
downloadlinux-32d8a6fc5bd62769c7fa60818e0a32bd5126a565.tar.xz
linux-32d8a6fc5bd62769c7fa60818e0a32bd5126a565.zip
USB: serial: mos7840: remove set but not used variables 'st, data1, iflag'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/usb/serial/mos7840.c: In function 'mos7840_interrupt_callback': drivers/usb/serial/mos7840.c:604:14: warning: variable 'st' set but not used [-Wunused-but-set-variable] drivers/usb/serial/mos7840.c: In function 'mos7840_write': drivers/usb/serial/mos7840.c:1303:17: warning: variable 'data1' set but not used [-Wunused-but-set-variable] drivers/usb/serial/mos7840.c:1700:11: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] They are never used since introduction in commit 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/mfd/janz-cmodio.c')
0 files changed, 0 insertions, 0 deletions