e1000e: remove redundant if clause from PTP work
authorJakub Kicinski <[email protected]>
Sat, 15 Mar 2014 14:55:05 +0000 (14:55 +0000)
committerJeff Kirsher <[email protected]>
Fri, 28 Mar 2014 13:54:01 +0000 (06:54 -0700)
commit201b54b8d245ae248fabd2e62b75272da47c475b
treec64914cf9346157656fddccbc741352ac0463309
parent59c871c5f0540c974db85eaa77f518de26940c1f
e1000e: remove redundant if clause from PTP work

tx_hwtstamp_skb is always set before work is scheduled,
work is cancelled before tx_hwtstamp_skb is set to NULL.
PTP work cannot ever see tx_hwtstamp_skb set to NULL.

Signed-off-by: Jakub Kicinski <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/e1000e/netdev.c