net/ice/base: cleanup update link info
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:18:09 +0000 (23:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit3940540c5d9c10a7179e52e6e60e4ea322cd2ff7
treed3c0fe53c8165f62414d122e1c3ccb44664e2c76
parentba389b4b24b5dd5c3d5b8cd0f44c5b1c82a5c807
net/ice/base: cleanup update link info

1. Do not unnecessarily initialize local variable.
2. Cleanup ice_update_link_info.
3. Don't clear auto_fec bit in ice_cfg_phy_fec.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_common.c