diff options
Diffstat (limited to 'drivers/scsi/libiscsi.c')
-rw-r--r-- | drivers/scsi/libiscsi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index d5e5c445a33c..5de946984500 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c | |||
@@ -507,7 +507,6 @@ static void iscsi_free_task(struct iscsi_task *task) | |||
507 | kfifo_in(&session->cmdpool.queue, (void*)&task, sizeof(void*)); | 507 | kfifo_in(&session->cmdpool.queue, (void*)&task, sizeof(void*)); |
508 | 508 | ||
509 | if (sc) { | 509 | if (sc) { |
510 | task->sc = NULL; | ||
511 | /* SCSI eh reuses commands to verify us */ | 510 | /* SCSI eh reuses commands to verify us */ |
512 | sc->SCp.ptr = NULL; | 511 | sc->SCp.ptr = NULL; |
513 | /* | 512 | /* |