Re: [PATCH v1] scsi: scsi_debug: Remove redundant driver match function

From: John Garry
Date: Tue Mar 21 2023 - 13:52:33 EST


On 19/03/2023 04:27, Lizhe wrote:
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's match function that always returned 1 and so

I'd have "Drop the pseudo_lld_bus match function .."

implements the same behaviour as when there is no match function.

Signed-off-by: Lizhe<sensor1010@xxxxxxx>
---

Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>