]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ntb_netdev: remove init/exit from probe/remove
authorJon Mason <jon.mason@intel.com>
Sat, 19 Jan 2013 09:02:30 +0000 (02:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Jan 2013 23:48:13 +0000 (15:48 -0800)
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>
drivers/net/ntb_netdev.c

index 4e52fd2b8226034ffb2da7d0583a9e65cb4533fb..0d4a6ee5a7f06f3f27e7dbc0b6b928fd1c03db13 100644 (file)
@@ -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;