net: usb: rtl8150: remove set but not used variable 'rx_stat'
authorYue Haibing <yuehaibing@huawei.com>
Fri, 18 Jan 2019 02:06:49 +0000 (02:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jan 2019 18:29:56 +0000 (10:29 -0800)
commitfa1115c6a249cd3fac5b00aba1be38533e501005
tree6c8c05409ee278c1ff5396e13f17dcdfa40841a6
parent94ce2d4d5a4f8c304a230af5ecf3c670b3a2fb4b
net: usb: rtl8150: remove set but not used variable 'rx_stat'

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

drivers/net/usb/rtl8150.c: In function 'read_bulk_callback':
drivers/net/usb/rtl8150.c:391:6: warning:
 variable 'rx_stat' set but not used [-Wunused-but-set-variable]

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rtl8150.c