enic: Fix build failure with SRIOV disabled.
authorDavid S. Miller <davem@davemloft.net>
Fri, 21 Aug 2015 18:38:41 +0000 (11:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Aug 2015 18:43:22 +0000 (11:43 -0700)
commit1a69205c471221a7f9101df164642611e37c52e4
treebd91dcdc2c2c61e56e5380131d5f40f43603c50c
parenta9e01ed986aa80d3092134428f453072752da223
enic: Fix build failure with SRIOV disabled.

err_out_vnic_unregister is used regardless of whether
SRIOV is enabled or not.

Reported-by: Jesse Brandeburg <jesse.brangeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c