提交 83ce01d2 编写于 作者: D Dmitry Torokhov 提交者: Herbert Xu

crypto: qat - remove incorrect __exit markup

PCI bus is hot-pluggable, and even if it wasn't one can still unbind the
device from driver via sysfs, so we should not make driver's remove
method as __exit.
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 257bedd4
...@@ -379,7 +379,7 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -379,7 +379,7 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
return ret; return ret;
} }
static void __exit adf_remove(struct pci_dev *pdev) static void adf_remove(struct pci_dev *pdev)
{ {
struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册