diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 2d5496c52afd..f03177589c02 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1060,12 +1060,10 @@ static inline int nvme_process_cq(struct nvme_queue *nvmeq) static irqreturn_t nvme_irq(int irq, void *data) { struct nvme_queue *nvmeq = data; - irqreturn_t ret = IRQ_NONE; if (nvme_process_cq(nvmeq)) - ret = IRQ_HANDLED; - - return ret; + return IRQ_HANDLED; + return IRQ_NONE; } static irqreturn_t nvme_irq_check(int irq, void *data)