igb: fix uninitialized variables
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 6 Nov 2018 08:27:12 +0000 (16:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:28:52 +0000 (09:28 +0100)
commit9966f78ab603ee58909f411c8b034cef4d1b76ae
tree249e8fc2c403111481105365c350a9e0d8401e98
parent7b99a0d73be5fdbbdb0a0eef7de211f6359fc210
igb: fix uninitialized variables

[ Upstream commit e4c39f7926b4de355f7df75651d75003806aae09 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/igb/e1000_i210.c