Skip to content

Commit

Permalink
ntb_netdev: remove init/exit from probe/remove
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jon Mason authored and Greg Kroah-Hartman committed Jan 20, 2013
1 parent 50228c5 commit 19e17f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ntb_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static int ntb_netdev_probe(struct pci_dev *pdev)
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;
Expand Down

0 comments on commit 19e17f7

Please sign in to comment.