diff options
author | Oliver Neukum <oliver@neukum.org> | 2012-09-04 00:21:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-04 12:49:05 -0400 |
commit | 6e129d04de7adbd63e86293533688ce88b9b13d8 (patch) | |
tree | 4e4bd9aed28f513567a2e8ba6d24cf2396b62e00 | |
parent | 1e9f0207d3e63fab7a0f8a0e532bdc73ea850baf (diff) |
usbnet: drop unneeded check for NULL
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>
-rw-r--r-- | drivers/net/usb/usbnet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 8531c1caac28..5234d20ef44d 100644 --- 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, | |||
1092 | unsigned long flags; | 1092 | unsigned long flags; |
1093 | int retval; | 1093 | int retval; |
1094 | 1094 | ||
1095 | if (skb) | 1095 | skb_tx_timestamp(skb); |
1096 | skb_tx_timestamp(skb); | ||
1097 | 1096 | ||
1098 | // some devices want funky USB-level framing, for | 1097 | // some devices want funky USB-level framing, for |
1099 | // win32 driver (usually) and/or hardware quirks | 1098 | // win32 driver (usually) and/or hardware quirks |