Remove unnecessary DAHDI_IRQ_HANDLER macro.

All supported kernels now use the same signature for the IRQ handler.

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
Shaun Ruffell 2019-01-11 04:43:26 +00:00
parent 02d30ab799
commit cdd6ddd0fd
5 changed files with 5 additions and 7 deletions

View File

@ -2963,7 +2963,7 @@ static void init_spans(struct b4xxp *b4)
static void b4xxp_bottom_half(unsigned long data);
/* top-half interrupt handler */
DAHDI_IRQ_HANDLER(b4xxp_interrupt)
static irqreturn_t b4xxp_interrupt(int irq, void *dev_id)
{
struct b4xxp *b4 = dev_id;
unsigned char status;

View File

@ -3941,7 +3941,7 @@ static irqreturn_t _t4_interrupt(int irq, void *dev_id)
return IRQ_RETVAL(1);
}
DAHDI_IRQ_HANDLER(t4_interrupt)
static irqreturn_t t4_interrupt(int irq, void *dev_id)
{
irqreturn_t ret;
unsigned long flags;
@ -4263,7 +4263,7 @@ out:
return IRQ_RETVAL(1);
}
DAHDI_IRQ_HANDLER(t4_interrupt_gen2)
static irqreturn_t t4_interrupt_gen2(int irq, void *dev_id)
{
irqreturn_t ret;
unsigned long flags;

View File

@ -2731,7 +2731,7 @@ static void deferred_work_func(struct work_struct *work)
service_rx_ring(wc);
}
DAHDI_IRQ_HANDLER(wctc4xxp_interrupt)
static irqreturn_t wctc4xxp_interrupt(int irq, void *dev_id)
{
struct wcdte *wc = dev_id;
bool packets_to_process = false;

View File

@ -478,7 +478,7 @@ static irqreturn_t _wcxb_isr(int irq, void *dev_id)
return IRQ_HANDLED;
}
DAHDI_IRQ_HANDLER(wcxb_isr)
static irqreturn_t wcxb_isr(int irq, void *dev_id)
{
irqreturn_t ret;
unsigned long flags;

View File

@ -60,8 +60,6 @@
#define dahdi_pci_module pci_register_driver
#define DAHDI_IRQ_HANDLER(a) static irqreturn_t a(int irq, void *dev_id)
#ifdef CONFIG_PCI
#include <linux/pci-aspm.h>
#endif