Skip to content

Commit 07d3f04

Browse files
cp890582martinkpetersen
authored andcommitted
scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro
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: a6ffd5b ("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]>
1 parent e094fd3 commit 07d3f04

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/scsi/megaraid/megaraid_sas_fusion.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3739,10 +3739,8 @@ static irqreturn_t megasas_isr_fusion(int irq, void *devp)
37393739
if (instance->mask_interrupts)
37403740
return IRQ_NONE;
37413741

3742-
#if defined(ENABLE_IRQ_POLL)
37433742
if (irq_context->irq_poll_scheduled)
37443743
return IRQ_HANDLED;
3745-
#endif
37463744

37473745
if (!instance->msix_vectors) {
37483746
mfiStatus = instance->instancet->clear_intr(instance);

0 commit comments

Comments
 (0)