Commit 11a26723 authored by Mike Christie's avatar Mike Christie Committed by Martin K. Petersen
Browse files

scsi: ch: Remove unit_attention

parent 18305320
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;