mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
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>
This commit is contained in:
parent
50228c5505
commit
19e17f7248
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ static int ntb_netdev_probe(struct pci_dev *pdev)
|
||||||
return rc;
|
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 net_device *ndev;
|
||||||
struct ntb_netdev *dev;
|
struct ntb_netdev *dev;
|
||||||
|
|
Loading…
Reference in a new issue