Skip to content
Commit 548f32f5 authored by YueHaibing's avatar YueHaibing Committed by Johan Hovold
Browse files

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 2be818a1 ('Revert "USB: quatech2:
only write to the tty if the port is open."')

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent ccda4af0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment