From: Atul Deshmukh <[email protected]>

Signed-off-by: Atul Deshmukh <[email protected]>
Signed-off-by: Saurav Kashyap <[email protected]>
---
 drivers/scsi/qla2xxx/qla_nx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 3da2372..1468c59 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -2237,8 +2237,8 @@ qla82xx_poll(int irq, void *dev_id)
                            stat * 0xff);
                        break;
                }
+               WRT_REG_DWORD(&reg->host_int, 0);
        }
-       WRT_REG_DWORD(&reg->host_int, 0);
 out:
        spin_unlock_irqrestore(&ha->hardware_lock, flags);
 }
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to