projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e3531d
)
usbnet: rtl8150: remove unused variable
author
Sudip Mukherjee
<sudipm.mukherjee@gmail.com>
Tue, 18 Nov 2014 16:25:21 +0000
(21:55 +0530)
committer
David S. Miller
<davem@davemloft.net>
Wed, 19 Nov 2014 20:17:11 +0000
(15:17 -0500)
remove unused variable
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rtl8150.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/rtl8150.c
b/drivers/net/usb/rtl8150.c
index 6e87e5710048cf952c1505950d954a493b6b8878..d37b7dce2d405af079e8067ad032f0acdbdbbf9b 100644
(file)
--- 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)