diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-07 05:50:42 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2018-12-10 12:20:44 +0300 |
commit | 01688a6d66b5aaa06f49d4d1336a9ee641fe3c46 (patch) | |
tree | 344c80ec3afe858577f644b89a157a095d813313 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 32899682cf457de5c091ee7dbbee34ad9bf2f992 (diff) | |
download | linux-01688a6d66b5aaa06f49d4d1336a9ee641fe3c46.tar.xz |
USB: serial: mos7840: remove set but not used variables 'number, serial'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/usb/serial/mos7840.c: In function 'mos7840_send_cmd_write_baud_rate':
drivers/usb/serial/mos7840.c:1584:16: warning:
variable 'number' set but not used [-Wunused-but-set-variable]
drivers/usb/serial/mos7840.c: In function 'mos7840_change_port_settings':
drivers/usb/serial/mos7840.c:1695:21: warning:
variable 'serial' set but not used [-Wunused-but-set-variable]
'number' never used since introduction in commit 3f5429746d91 ("USB: Moschip
7840 USB-Serial Driver")
'serial' not used since commit 5833041f1b13 ("USB: serial: remove unnecessary
reinitialisations of urb->dev")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions