diff options
Diffstat (limited to 'drivers/scsi/aacraid/dpcsup.c')
-rw-r--r-- | drivers/scsi/aacraid/dpcsup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/aacraid/dpcsup.c b/drivers/scsi/aacraid/dpcsup.c index f6bcb9486f85..b2a5c7262f36 100644 --- a/drivers/scsi/aacraid/dpcsup.c +++ b/drivers/scsi/aacraid/dpcsup.c | |||
@@ -85,10 +85,9 @@ unsigned int aac_response_normal(struct aac_queue * q) | |||
85 | * continue. The caller has already been notified that | 85 | * continue. The caller has already been notified that |
86 | * the fib timed out. | 86 | * the fib timed out. |
87 | */ | 87 | */ |
88 | if (!(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { | 88 | if (!(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) |
89 | list_del(&fib->queue); | ||
90 | dev->queues->queue[AdapNormCmdQueue].numpending--; | 89 | dev->queues->queue[AdapNormCmdQueue].numpending--; |
91 | } else { | 90 | else { |
92 | printk(KERN_WARNING "aacraid: FIB timeout (%x).\n", fib->flags); | 91 | printk(KERN_WARNING "aacraid: FIB timeout (%x).\n", fib->flags); |
93 | printk(KERN_DEBUG"aacraid: hwfib=%p fib index=%i fib=%p\n",hwfib, hwfib->header.SenderData,fib); | 92 | printk(KERN_DEBUG"aacraid: hwfib=%p fib index=%i fib=%p\n",hwfib, hwfib->header.SenderData,fib); |
94 | continue; | 93 | continue; |
@@ -284,7 +283,6 @@ unsigned int aac_intr_normal(struct aac_dev * dev, u32 Index) | |||
284 | return 0; | 283 | return 0; |
285 | } | 284 | } |
286 | 285 | ||
287 | list_del(&fib->queue); | ||
288 | dev->queues->queue[AdapNormCmdQueue].numpending--; | 286 | dev->queues->queue[AdapNormCmdQueue].numpending--; |
289 | 287 | ||
290 | if (fast) { | 288 | if (fast) { |