igb: fix uninitialized variables
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 6 Nov 2018 08:27:12 +0000 (16:27 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 28 Nov 2018 16:27:47 +0000 (08:27 -0800)
commite4c39f7926b4de355f7df75651d75003806aae09
tree0ef19f17bf5cb1580e600c2577c7482fd9daafc5
parent4df5ce9bc03e47d05f400e64aa32a82ec4cef419
igb: fix uninitialized variables

This patch fixes the variable 'phy_word' may be used uninitialized.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_i210.c