diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-11-18 19:25:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-19 23:17:11 +0300 |
commit | 1abe7cd91a994a214650d7dec0bd03e6ebc95913 (patch) | |
tree | 2adefef1f4ea9b4f791d9c03fc89ba32cf67beac /drivers/net/usb/rtl8150.c | |
parent | 1e3531d2c233b6aef8f90d8cae371b32e09e4c27 (diff) | |
download | linux-1abe7cd91a994a214650d7dec0bd03e6ebc95913.tar.xz |
usbnet: rtl8150: remove unused variable
remove unused variable
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/rtl8150.c')
-rw-r--r-- | drivers/net/usb/rtl8150.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 6e87e5710048..d37b7dce2d40 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c @@ -753,14 +753,13 @@ static int rtl8150_open(struct net_device *netdev) static int rtl8150_close(struct net_device *netdev) { rtl8150_t *dev = netdev_priv(netdev); - int res = 0; netif_stop_queue(netdev); if (!test_bit(RTL8150_UNPLUG, &dev->flags)) disable_net_traffic(dev); unlink_all_urbs(dev); - return res; + return 0; } static void rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) |