s390/vfio-ap: remove superfluous MODULE_DEVICE_TABLE declaration
authorThomas Huth <thuth@redhat.com>
Wed, 13 Apr 2022 09:44:16 +0000 (11:44 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 25 Apr 2022 11:54:15 +0000 (13:54 +0200)
The vfio_ap module tries to register for the vfio_ap bus - but that's
the interface that it provides itself, so this does not make much sense,
thus let's simply drop this statement now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Link: https://lore.kernel.org/r/20220413094416.412114-1-thuth@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/crypto/vfio_ap_drv.c

index 29ebd54..4ac9c65 100644 (file)
@@ -46,8 +46,6 @@ static struct ap_device_id ap_queue_ids[] = {
        { /* end of sibling */ },
 };
 
-MODULE_DEVICE_TABLE(vfio_ap, ap_queue_ids);
-
 static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q)
 {
        struct ap_matrix_mdev *matrix_mdev;