From: Mark Rustad Date: Sat, 9 Aug 2014 07:02:09 +0000 (+0000) Subject: ixgbe: Do not schedule an uninitialized workqueue entry X-Git-Tag: fixes-against-v3.18-rc2~81^2~27^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d52349337392b122a1bcd57d191e2a0329b2d9b2;p=pandora-kernel.git ixgbe: Do not schedule an uninitialized workqueue entry If a hardware Tx timestamp is requested, an uninitialized workqueue entry may be scheduled, especially on an 82598 adapter. Add a check for a PTP clock to avoid that. Also only apply the unlikely to the first term of the conditional. That will make the rest of the checks be in the cold path. Signed-off-by: Mark Rustad Acked-by: Matthew Vick Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed