net/e1000/base: fix uninitialized variable
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 6 Nov 2018 07:57:01 +0000 (15:57 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commitba46f5e60f03fdc357e5fcbc370eb2812c3120ff
tree54821273ad7c65d692ffe47a330b9d0aeb4c27a1
parent126372ce72107b7dc885e3e4f35c1aa732203e17
net/e1000/base: fix uninitialized variable

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

Fixes: 5b6439cf03a4 ("e1000/base: support different EEARBC for i210")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/e1000/base/e1000_i210.c