ixgbe: remove redundant if clause from PTP work
authorJakub Kicinski <kubakici@wp.pl>
Sat, 15 Mar 2014 14:55:11 +0000 (14:55 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 31 Mar 2014 22:48:00 +0000 (15:48 -0700)
commit181e7d5d7bd7747e882e3ca89ecbf0fc3e72d0da
tree31e0de252a598b8b77e66543d4e7eb50a4f8be53
parentb20a774495671f037e7160ea2ce8789af6b61533
ixgbe: remove redundant if clause from PTP work

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

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c