Ver Fonte

ntb_netdev: remove init/exit from probe/remove

Remove init/exit from probe/remove routines to correct warnings of
"Section mismatch".

Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jon Mason há 12 anos atrás
pai
commit
19e17f7248
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/net/ntb_netdev.c

+ 1 - 1
drivers/net/ntb_netdev.c

@@ -373,7 +373,7 @@ err:
 	return rc;
 }
 
-static void __exit ntb_netdev_remove(struct pci_dev *pdev)
+static void ntb_netdev_remove(struct pci_dev *pdev)
 {
 	struct net_device *ndev;
 	struct ntb_netdev *dev;