Skip to content
Commit 882f4ada authored by Lizhe's avatar Lizhe Committed by Martin K. Petersen
Browse files

scsi: target: tcm_loop: 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().

pseudo_lld_bus_match() always returns 1 and is therefore equivalent to not
registering a match function. Remove it.

Signed-off-by: default avatarLizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20230319043518.297490-1-sensor1010@163.com
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f4868932
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment