net/bnxt: fix build
authorMark Kavanagh <mark.b.kavanagh@intel.com>
Mon, 9 Oct 2017 13:59:30 +0000 (14:59 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
commit08731368c9fc5effbb6286437da4b6825e305ca7
treeb58826816641445c9a239171b2e0999ba0e747b6
parentd9a191a00e817739e2a6ecc01178a29918adf199
net/bnxt: fix build

For gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7),
As of 5ef3b79fdfe6f, compilation of DPDK fails with the following
ERROR MESSAGE:
"bnxt_filter.c:960:117: error: ‘vnic’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]".

Resolve this by initializing 'vnic' to NULL;

Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops")

Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
drivers/net/bnxt/bnxt_filter.c