ixgbe: cleanup PHY init
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 25 Feb 2011 07:49:39 +0000 (07:49 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 8 Mar 2011 02:05:02 +0000 (18:05 -0800)
commit037c6d0a33453bf025c6d6b21e5a0fabe117a797
tree008d21bef2889b7915850d9dddfa7ce110ee05f5
parent68a683cf6a5ff09faa366fc1fcf967add0211fe8
ixgbe: cleanup PHY init

This change cleans up several situations in which we were either stepping
over possible errors, or calling initialization routines multiple times.
Also includes whitespace fixes where applicable.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_phy.c