Commit 11a26723 authored by Mike Christie's avatar Mike Christie Committed by Martin K. Petersen
parent 18305320
...@@ -113,7 +113,6 @@ typedef struct { ...@@ -113,7 +113,6 @@ typedef struct {
struct scsi_device **dt; /* ptrs to data transfer elements */ struct scsi_device **dt; /* ptrs to data transfer elements */
u_int firsts[CH_TYPES]; u_int firsts[CH_TYPES];
u_int counts[CH_TYPES]; u_int counts[CH_TYPES];
u_int unit_attention;
u_int voltags; u_int voltags;
struct mutex lock; struct mutex lock;
} scsi_changer; } scsi_changer;
...@@ -208,7 +207,6 @@ ch_do_scsi(scsi_changer *ch, unsigned char *cmd, int cmd_len, ...@@ -208,7 +207,6 @@ ch_do_scsi(scsi_changer *ch, unsigned char *cmd, int cmd_len,
switch(sshdr.sense_key) { switch(sshdr.sense_key) {
case UNIT_ATTENTION: case UNIT_ATTENTION:
ch->unit_attention = 1;
if (retries++ < 3) if (retries++ < 3)
goto retry; goto retry;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment