mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-12 04:38:07 +07: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
@ -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 New Issue
Block a user