diff options
-rw-r--r-- | drivers/scsi/libiscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index a223413e1564..256b87a85978 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c | |||
@@ -985,7 +985,7 @@ iscsi_remove_##tasktype(struct kfifo *fifo, uint32_t itt) \ | |||
985 | \ | 985 | \ |
986 | if (task->itt == itt) { \ | 986 | if (task->itt == itt) { \ |
987 | debug_scsi("matched task\n"); \ | 987 | debug_scsi("matched task\n"); \ |
988 | break; \ | 988 | return task; \ |
989 | } \ | 989 | } \ |
990 | \ | 990 | \ |
991 | __kfifo_put(fifo, (void*)&task, sizeof(void*)); \ | 991 | __kfifo_put(fifo, (void*)&task, sizeof(void*)); \ |