ixgbe: Cleanup probe to remove redundant attempt to ID PHY
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 12 Dec 2014 05:37:30 +0000 (05:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Feb 2015 03:57:48 +0000 (19:57 -0800)
commit4dedadcbae35c84366c2543bce37e045b1665196
tree7a96a9c361776d42783e1a512ab38f3eb86c2727
parentf9c9e488ce1e521ef1bf9f7b72a01c861475fcd3
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 <donald.c.skidmore@intel.com>
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_x540.c