]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/sym53c8xx_2/sym_glue.c
[PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field
[karo-tx-linux.git] / drivers / scsi / sym53c8xx_2 / sym_glue.c
index a1dff6d437bc22b066a123e2332526fdb7cc4d13..5ff83d214f128eed2ca780cf50fbc8f12a6fa07e 100644 (file)
@@ -799,12 +799,6 @@ static int sym_eh_handler(int op, char *opname, struct scsi_cmnd *cmd)
 
        dev_warn(&cmd->device->sdev_gendev, "%s operation started.\n", opname);
 
-#if 0
-       /* This one should be the result of some race, thus to ignore */
-       if (cmd->serial_number != cmd->serial_number_at_timeout)
-               goto prepare;
-#endif
-
        /* This one is queued in some place -> to wait for completion */
        FOR_EACH_QUEUED_ELEMENT(&np->busy_ccbq, qp) {
                struct sym_ccb *cp = sym_que_entry(qp, struct sym_ccb, link_ccbq);