]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: fix location of vnic dev unregister in enic_probe cleanup code
authorRoopa Prabhu <roprabhu@cisco.com>
Wed, 18 Jan 2012 04:24:12 +0000 (04:24 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:10 +0000 (08:22 +0800)
commit147cf7e81c29485acc86d21602bba8f4017619c9
treefc998f416d67a54f4be2cf3ab5d432cc227c2655
parent2721ad3fff69ce06f89239f276710f778d0f9215
enic: fix location of vnic dev unregister in enic_probe cleanup code

The vnic_dev_unregister is erroneously under CONFIG_PCI_IOV. This patch moves
it out of CONFIG_PCI_IOV

(cherry picked from commit 35d87e3325e91ec6bc446bf71f50eccc9a7b3b8f)
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/enic/enic_main.c