crypto: qat - remove incorrect __exit markup
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 20:25:49 +0000 (13:25 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Mar 2015 14:11:07 +0000 (01:11 +1100)
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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_dh895xcc/adf_drv.c

index 8ffdb95c9804f5ce1b5d65bc31aca0162ab7cfbd..e7af9d5980af42f0404b10a60699be0cd8185df9 100644 (file)
@@ -379,7 +379,7 @@ out_err:
        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);