Browse Source

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 12 năm trước cách đây
mục cha
commit
19e17f7248
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;