diff options
author | Mike Christie <[email protected]> | 2024-01-22 18:22:11 -0600 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-01-29 21:20:54 -0500 |
commit | 11a26723210e91476b15f3d4f5def88609d04880 (patch) | |
tree | a4c6416e2cb3abb61385618920cf011eae88cd78 | |
parent | 183053203d4532431bfdbddc04dd9306a03164a5 (diff) |
scsi: ch: Remove unit_attention
unit_attention is not used so remove it.
Signed-off-by: Mike Christie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Martin Wilck <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/ch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index 2b864061e073..9d7fa097ae9e 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c @@ -113,7 +113,6 @@ typedef struct { struct scsi_device **dt; /* ptrs to data transfer elements */ u_int firsts[CH_TYPES]; u_int counts[CH_TYPES]; - u_int unit_attention; u_int voltags; struct mutex lock; } scsi_changer; @@ -208,7 +207,6 @@ ch_do_scsi(scsi_changer *ch, unsigned char *cmd, int cmd_len, switch(sshdr.sense_key) { case UNIT_ATTENTION: - ch->unit_attention = 1; if (retries++ < 3) goto retry; break; |