scsi: scsi_debug: Remove redundant driver match function
authorLizhe <sensor1010@163.com>
Sun, 19 Mar 2023 04:27:32 +0000 (12:27 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 24 Mar 2023 21:43:26 +0000 (17:43 -0400)
commitc45b3804292ba5f95b86a8866e2e2cac03fa0155
treed076448f528f751d1d07bfcbf9ebb8e339d97bd5
parentae2fb3cb0f00482c0ec0079e4244bdee3e1fc46b
scsi: scsi_debug: 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 pseudo_lld bus match function that always returned 1. This results
in the same behaviour as when there is no match function.

[mkp+jgg: patch description]

Signed-off-by: Lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20230319042732.278691-1-sensor1010@163.com
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c