On 5/29/23 22:21, Bart Van Assche wrote:
Make scsi_host_block() easier to read by converting it to the widely used early-return style. See also commit f983622ae605 ("scsi: core: Avoid calling synchronize_rcu() for each device in scsi_host_block()").
Reviewed-by: Mike Christie michael.christie@oracle.com Reviewed-by: Ming Lei ming.lei@redhat.com Cc: Ye Bin yebin10@huawei.com Cc: Hannes Reinecke hare@suse.de Signed-off-by: Bart Van Assche bvanassche@acm.org
drivers/scsi/scsi_lib.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-)
Reviewed-by: Hannes Reinecke hare@suse.de
Cheers,
Hannes