From: Don Skidmore Date: Fri, 12 Dec 2014 05:37:30 +0000 (+0000) Subject: ixgbe: Cleanup probe to remove redundant attempt to ID PHY X-Git-Tag: fixes-v4.0-rc1~150^2~25^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dedadcbae35c84366c2543bce37e045b1665196;p=pandora-kernel.git ixgbe: Cleanup probe to remove redundant attempt to ID PHY We always identify the PHY in our reset_hw path anyway so there is no need to do it in get_invariants(). The reason I even noticed this is that for new hardware (X550em) we don't assign some methods until later in probe and calling phy.ops.read_reg could lead to a panic. Signed-off-by: Don Skidmore Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed