RE: [PATCH]: Flexible timeout infrastructure

Smart, James
2004-06-16T16:59:31Z

> + case EH_RESET_TIMER:
> + /* This allows a single retry even of a command
> + * with allowed == 0 */
> + if (scmd->retries++ > scmd->allowed)
> + break;
> + scsi_add_timer(scmd, scmd->timeout_per_command,
> + scsi_times_out);
> + return;

So why increment the retries counter at all ?