s390/vfio-ap: remove redundant driver match function
authorLizhe <sensor1010@163.com>
Sun, 19 Mar 2023 04:19:41 +0000 (12:19 +0800)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 27 Mar 2023 15:19:52 +0000 (17:19 +0200)
commit85206bf95313c33a244d6ea4304b01ade95b8b05
treebfe87b7e1ed2a5d3d127786f20f449d944c19905
parente7615c9225d7c7562d1cd95ba8cc2cbf38c3d29e
s390/vfio-ap: remove redundant driver match function

If there is no driver match function, the driver core assumes that each
candidate pair (driver, device) matches, see driver_match_device().

Drop the matrix bus's match function that always returned 1 and so
implements the same behaviour as when there is no match function

Signed-off-by: Lizhe <sensor1010@163.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Link: https://lore.kernel.org/r/20230319041941.259830-1-sensor1010@163.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/vfio_ap_drv.c