]> Git Repo - linux.git/commitdiff
scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro
authorChandrakanth Patil <[email protected]>
Wed, 15 Jul 2020 12:01:53 +0000 (17:31 +0530)
committerMartin K. Petersen <[email protected]>
Wed, 15 Jul 2020 20:16:45 +0000 (16:16 -0400)
As the ENABLE_IRQ_POLL macro is undefined, the check for ENABLE_IRQ_POLL
macro in ISR will always be false. This leads to irq polling being
non-functional.

Remove ENABLE_IRQ_POLL check from ISR.

Link: https://lore.kernel.org/r/[email protected]
Fixes: a6ffd5bf6819 ("scsi: megaraid_sas: Call disable_irq from process IRQ")
Cc: <[email protected]> # v5.3+
Signed-off-by: Chandrakanth Patil <[email protected]>
Signed-off-by: Kashyap Desai <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index 319f241da4b66eb30a485a0301553f3e48bbb1bc..fcf03f733e4172eff8ea33b72164a8e2cbba51ff 100644 (file)
@@ -3739,10 +3739,8 @@ static irqreturn_t megasas_isr_fusion(int irq, void *devp)
        if (instance->mask_interrupts)
                return IRQ_NONE;
 
-#if defined(ENABLE_IRQ_POLL)
        if (irq_context->irq_poll_scheduled)
                return IRQ_HANDLED;
-#endif
 
        if (!instance->msix_vectors) {
                mfiStatus = instance->instancet->clear_intr(instance);
This page took 0.092962 seconds and 4 git commands to generate.