mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-05 18:59:58 +00:00
[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:
parent
9e603ca06a
commit
96ad0dfe83
1 changed files with 0 additions and 3 deletions
|
@ -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 ");
|
||||
|
|
Loading…
Reference in a new issue