enic: fix compile when CONFIG_PCI_IOV is not enabled
commitb67f231ded332461dd31123c4f659c4681223fb1
authorRoopa Prabhu <roprabhu@cisco.com>
Thu, 19 Jan 2012 22:25:36 +0000 (19 22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2012 18:39:20 +0000 (20 13:39 -0500)
tree34bc60fa12eaab6cf8efaa59957b8c8774334c45
parent3d8fe98f8d5cb303d907d8f94ea6dc1f9a1d8b7a
enic: fix compile when CONFIG_PCI_IOV is not enabled

reverting back change that access enic->num_vfs outside
CONFIG_PCI_IOV

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c