diff options
author | Oliver Neukum <oliver@neukum.org> | 2012-09-04 06:21:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-04 18:49:05 +0200 |
commit | 6e129d04de7adbd63e86293533688ce88b9b13d8 (patch) | |
tree | 4e4bd9aed28f513567a2e8ba6d24cf2396b62e00 /drivers/net/usb/usbnet.c | |
parent | Merge branch 'master' of git://1984.lsi.us.es/nf-next (diff) | |
download | linux-6e129d04de7adbd63e86293533688ce88b9b13d8.tar.xz linux-6e129d04de7adbd63e86293533688ce88b9b13d8.zip |
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>
Diffstat (limited to '')
-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, 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 |