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:
parent
1e9f0207d3
commit
6e129d04de
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue