This is a cleanup patchset, no logic changed. The first patch cleanup scsi_dev_queue_ready(); The second patch add comment to tell callback target_destroy of scsi_host_template must not sleep. V3: - Update comments suggested by Bart V2: - Tell which spinlock is held in comment of target_destroy Wenchao Hao (2): scsi: core: cleanup scsi_dev_queue_ready() scsi: Add comment of target_destroy in scsi_host_template drivers/scsi/scsi_lib.c | 32 +++++++++++++++----------------- include/scsi/scsi_host.h | 3 +++ 2 files changed, 18 insertions(+), 17 deletions(-) -- 2.32.0