net/vmxnet3: fix build with gcc 7
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 4 May 2017 15:38:17 +0000 (16:38 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 May 2017 16:36:42 +0000 (18:36 +0200)
commit2fff4ff7b77d6b9054b9c894d0a78fe5ebd0d746
tree66929e18135fa94bb3b6b0f4daabf6495b6933e6
parent803d48340c743eb76c12ca347e4135d2c6e7bc58
net/vmxnet3: fix build with gcc 7

GCC 7 flags a value as uninitialized before used. While it's a false
positive, there is little harm in providing an initial value for the
variable.

Fixes: bb1d14b87fc3 ("vmxnet3: fix link state handling")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/vmxnet3/vmxnet3_ethdev.c