diff options
author | Hannes Reinecke <hare@suse.de> | 2023-10-02 17:28:53 +0200 |
---|---|---|
committer | Hannes Reinecke <hare@suse.de> | 2023-10-16 13:54:56 +0200 |
commit | 1e93963cdc1f4d2671b12c37a09b861f40313768 (patch) | |
tree | 9e852207be584464e29b2bd887ec70beee83b6e9 | |
parent | 09b51e0e11f108502433d5fcb057b9ad381538ba (diff) | |
download | scsi-devel-eh-rework.v6.tar.gz |
scsi: remove SUBMITTED_BY_SCSI_RESET_IOCTLeh-rework.v6
Unused now.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 | ||||
-rw-r--r-- | include/scsi/scsi_cmnd.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 195ca80667d061..3069e021c2aad7 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1615,8 +1615,6 @@ static void scsi_done_internal(struct scsi_cmnd *cmd, bool complete_directly) break; case SUBMITTED_BY_SCSI_ERROR_HANDLER: return scsi_eh_done(cmd); - case SUBMITTED_BY_SCSI_RESET_IOCTL: - return; } if (unlikely(blk_should_fake_timeout(scsi_cmd_to_rq(cmd)->q))) diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h index 526def14e7fb75..d681510724aa26 100644 --- a/include/scsi/scsi_cmnd.h +++ b/include/scsi/scsi_cmnd.h @@ -68,7 +68,6 @@ struct scsi_pointer { enum scsi_cmnd_submitter { SUBMITTED_BY_BLOCK_LAYER = 0, SUBMITTED_BY_SCSI_ERROR_HANDLER = 1, - SUBMITTED_BY_SCSI_RESET_IOCTL = 2, } __packed; struct scsi_cmnd { |