Commit c45b380
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>1 parent ae2fb3c commit c45b380
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7893 | 7893 | | |
7894 | 7894 | | |
7895 | 7895 | | |
7896 | | - | |
7897 | | - | |
7898 | | - | |
7899 | | - | |
7900 | | - | |
7901 | | - | |
7902 | 7896 | | |
7903 | 7897 | | |
7904 | | - | |
7905 | 7898 | | |
7906 | 7899 | | |
7907 | 7900 | | |
| |||
0 commit comments