net: smsc: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from code in drivers/net/ethernet/smsc/ It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7887427193
commit
cf68ca1e4f
@ -271,7 +271,7 @@ static inline void mcf_outsw(void *a, unsigned char *p, int l)
|
||||
#define SMC_insw(a, r, p, l) mcf_insw(a + r, p, l)
|
||||
#define SMC_outsw(a, r, p, l) mcf_outsw(a + r, p, l)
|
||||
|
||||
#define SMC_IRQ_FLAGS (IRQF_DISABLED)
|
||||
#define SMC_IRQ_FLAGS 0
|
||||
|
||||
#else
|
||||
|
||||
|
@ -1356,8 +1356,7 @@ static int smsc9420_open(struct net_device *dev)
|
||||
smsc9420_reg_write(pd, INT_STAT, 0xFFFFFFFF);
|
||||
smsc9420_pci_flush_write(pd);
|
||||
|
||||
result = request_irq(irq, smsc9420_isr, IRQF_SHARED | IRQF_DISABLED,
|
||||
DRV_NAME, pd);
|
||||
result = request_irq(irq, smsc9420_isr, IRQF_SHARED, DRV_NAME, pd);
|
||||
if (result) {
|
||||
smsc_warn(IFUP, "Unable to use IRQ = %d", irq);
|
||||
result = -ENODEV;
|
||||
|
Loading…
Reference in New Issue
Block a user