Skip to content

Commit 83ce01d

Browse files
dtorherbertx
authored andcommitted
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: Dmitry Torokhov <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 257bedd commit 83ce01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/qat/qat_dh895xcc/adf_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
379379
return ret;
380380
}
381381

382-
static void __exit adf_remove(struct pci_dev *pdev)
382+
static void adf_remove(struct pci_dev *pdev)
383383
{
384384
struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev);
385385

0 commit comments

Comments
 (0)