dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Oliver Neukum 2012-09-04 04:21:54 +00:00 committed by David S. Miller
parent 1e9f0207d3
commit 6e129d04de
1 changed files with 1 additions and 2 deletions

View File

@ -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