diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2010-12-11 05:53:47 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-12-24 21:31:49 -0800 |
commit | b1cdfead0e532d7614b5d5b97044df94cc8945ae (patch) | |
tree | 921241c8bac9f03705965a82daf3256cc8033d8d /drivers/net/e1000e/phy.c | |
parent | 6480641eb741cabbba8e196d4f17db7fb80d101c (diff) | |
download | op-kernel-dev-b1cdfead0e532d7614b5d5b97044df94cc8945ae.zip op-kernel-dev-b1cdfead0e532d7614b5d5b97044df94cc8945ae.tar.gz |
e1000e: checkpatch warnings - braces
WARNING: braces {} are not necessary for any arm of this statement
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/e1000e/phy.c')
-rw-r--r-- | drivers/net/e1000e/phy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/e1000e/phy.c b/drivers/net/e1000e/phy.c index e297a23..1781efe 100644 --- a/drivers/net/e1000e/phy.c +++ b/drivers/net/e1000e/phy.c @@ -1057,9 +1057,8 @@ static s32 e1000_phy_setup_autoneg(struct e1000_hw *hw) e_dbg("Auto-Neg Advertising %x\n", mii_autoneg_adv_reg); - if (phy->autoneg_mask & ADVERTISE_1000_FULL) { + if (phy->autoneg_mask & ADVERTISE_1000_FULL) ret_val = e1e_wphy(hw, PHY_1000T_CTRL, mii_1000t_ctrl_reg); - } return ret_val; } |