net/i40e: do not use VSI before NULL check
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Sep 2016 17:39:35 +0000 (13:39 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commit4f728369bc943985c7d370b626999d6d6d191c4e
tree128c9a62b1b262b456adafedfe349adef0288797
parente8a197d2aa9a7375961a1e7356dfc5265a382158
net/i40e: do not use VSI before NULL check

Coverity issue: 127556
Fixes: 440499cf5376 ("net/i40e: support floating VEB")

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/i40e_ethdev.c