hv_netvsc: Fix dereference of nvdev before check
authorAndrew Schwartzmeyer <andschwa@microsoft.com>
Wed, 19 Aug 2015 03:06:32 +0000 (20:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2015 03:15:01 +0000 (20:15 -0700)
commit954591b9f3b43e7015bdd83acaa317658a9b7048
tree85591e0cc920e7b7ea9bf687006a99e67a6afc60
parent2d79849903e00fb445038ddd8afb2acfbf89eb7f
hv_netvsc: Fix dereference of nvdev before check

Passes static analysis by Smatch.

Signed-off-by: Andrew Schwartzmeyer <andschwa@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c