projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9f020
)
usbnet: drop unneeded check for NULL
author
Oliver Neukum
<oliver@neukum.org>
Tue, 4 Sep 2012 04:21:54 +0000
(
04:21
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Sep 2012 16:49:05 +0000
(12:49 -0400)
usbnet_start_xmit() is always called with a valid skb
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/usbnet.c
b/drivers/net/usb/usbnet.c
index 8531c1caac283263febc4f674daedef5b7844ff1..5234d20ef44dac06ea87803fb66dbe3e6f927b35 100644
(file)
--- a/
drivers/net/usb/usbnet.c
+++ b/
drivers/net/usb/usbnet.c
@@
-1092,8
+1092,7
@@
netdev_tx_t usbnet_start_xmit (struct sk_buff *skb,
unsigned long flags;
int retval;
- if (skb)
- skb_tx_timestamp(skb);
+ skb_tx_timestamp(skb);
// some devices want funky USB-level framing, for
// win32 driver (usually) and/or hardware quirks