diff options
author | Jon Mason <jon.mason@intel.com> | 2013-01-19 04:02:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-20 18:48:13 -0500 |
commit | 19e17f7248e8ef72a8b625db7ddd99c0ad3da27c (patch) | |
tree | 4cf48f5cdad9b4d7c10967bc36c31dc1259af54f /drivers/net | |
parent | 50228c5505fee2c836e1f3895d82f9cf5f89174f (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ntb_netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ntb_netdev.c b/drivers/net/ntb_netdev.c index 4e52fd2b8226..0d4a6ee5a7f0 100644 --- a/drivers/net/ntb_netdev.c +++ b/drivers/net/ntb_netdev.c | |||
@@ -373,7 +373,7 @@ err: | |||
373 | return rc; | 373 | return rc; |
374 | } | 374 | } |
375 | 375 | ||
376 | static void __exit ntb_netdev_remove(struct pci_dev *pdev) | 376 | static void ntb_netdev_remove(struct pci_dev *pdev) |
377 | { | 377 | { |
378 | struct net_device *ndev; | 378 | struct net_device *ndev; |
379 | struct ntb_netdev *dev; | 379 | struct ntb_netdev *dev; |