[SCSI] scsi_debug: remove unnecessary checking
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Douglas Gilbert <dougg@torque.net> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
Родитель
9e603ca06a
Коммит
96ad0dfe83
|
@ -344,9 +344,6 @@ int scsi_debug_queuecommand(struct scsi_cmnd * SCpnt, done_funct_t done)
|
|||
int inj_transport = 0;
|
||||
int delay_override = 0;
|
||||
|
||||
if (done == NULL)
|
||||
return 0; /* assume mid level reprocessing command */
|
||||
|
||||
scsi_set_resid(SCpnt, 0);
|
||||
if ((SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) && cmd) {
|
||||
printk(KERN_INFO "scsi_debug: cmd ");
|
||||
|
|
Загрузка…
Ссылка в новой задаче