提交 19e17f72 编写于 作者: J Jon Mason 提交者: Greg Kroah-Hartman

ntb_netdev: remove init/exit from probe/remove

Remove init/exit from probe/remove routines to correct warnings of
"Section mismatch".
Signed-off-by: NJon Mason <jon.mason@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 50228c55
无相关合并请求
...@@ -373,7 +373,7 @@ static int ntb_netdev_probe(struct pci_dev *pdev) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部