diff options
| -rw-r--r-- | drivers/scsi/scsi_debug.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index be3437c4058c..c14c9b19213a 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
| @@ -344,9 +344,6 @@ int scsi_debug_queuecommand(struct scsi_cmnd * SCpnt, done_funct_t done) | |||
| 344 | int inj_transport = 0; | 344 | int inj_transport = 0; |
| 345 | int delay_override = 0; | 345 | int delay_override = 0; |
| 346 | 346 | ||
| 347 | if (done == NULL) | ||
| 348 | return 0; /* assume mid level reprocessing command */ | ||
| 349 | |||
| 350 | scsi_set_resid(SCpnt, 0); | 347 | scsi_set_resid(SCpnt, 0); |
| 351 | if ((SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) && cmd) { | 348 | if ((SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) && cmd) { |
| 352 | printk(KERN_INFO "scsi_debug: cmd "); | 349 | printk(KERN_INFO "scsi_debug: cmd "); |
