USB: serial: quatech2: remove set but not used variable 'port_priv'
commit548f32f59456e71379c61d4e88727ee6c5f6ccd6
authorYueHaibing <yuehaibing@huawei.com>
Thu, 11 Oct 2018 07:44:33 +0000 (11 07:44 +0000)
committerJohan Hovold <johan@kernel.org>
Mon, 12 Nov 2018 09:08:10 +0000 (12 10:08 +0100)
tree84fde6e29e4777f1dc4500d1e8b3f68917e596cb
parentccda4af0f4b92f7b4c308d3acc262f4a7e3affad
USB: serial: quatech2: remove set but not used variable 'port_priv'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/usb/serial/quatech2.c: In function 'qt2_process_read_urb':
drivers/usb/serial/quatech2.c:503:27: warning:
 variable 'port_priv' set but not used [-Wunused-but-set-variable]

It not used any more after commit 2be818a116b2 ('Revert "USB: quatech2:
only write to the tty if the port is open."')

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/quatech2.c