Commit 1abe7cd9 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by David S. Miller

usbnet: rtl8150: remove unused variable

remove unused variable
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e3531d2
...@@ -753,14 +753,13 @@ static int rtl8150_open(struct net_device *netdev) ...@@ -753,14 +753,13 @@ static int rtl8150_open(struct net_device *netdev)
static int rtl8150_close(struct net_device *netdev) static int rtl8150_close(struct net_device *netdev)
{ {
rtl8150_t *dev = netdev_priv(netdev); rtl8150_t *dev = netdev_priv(netdev);
int res = 0;
netif_stop_queue(netdev); netif_stop_queue(netdev);
if (!test_bit(RTL8150_UNPLUG, &dev->flags)) if (!test_bit(RTL8150_UNPLUG, &dev->flags))
disable_net_traffic(dev); disable_net_traffic(dev);
unlink_all_urbs(dev); unlink_all_urbs(dev);
return res; return 0;
} }
static void rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) static void rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment