drivers/net: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4c9ba61e9e
commit
dddcb445a3
@@ -610,9 +610,8 @@ static int xl_open(struct net_device *dev)
|
||||
|
||||
u16 switchsettings, switchsettings_eeprom ;
|
||||
|
||||
if(request_irq(dev->irq, &xl_interrupt, IRQF_SHARED , "3c359", dev)) {
|
||||
if (request_irq(dev->irq, xl_interrupt, IRQF_SHARED , "3c359", dev))
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
/*
|
||||
* Read the information from the EEPROM that we need.
|
||||
|
@@ -445,9 +445,9 @@ static int olympic_open(struct net_device *dev)
|
||||
|
||||
olympic_init(dev);
|
||||
|
||||
if(request_irq(dev->irq, &olympic_interrupt, IRQF_SHARED , "olympic", dev)) {
|
||||
if (request_irq(dev->irq, olympic_interrupt, IRQF_SHARED , "olympic",
|
||||
dev))
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
#if OLYMPIC_DEBUG
|
||||
printk("BMCTL: %x\n",readl(olympic_mmio+BMCTL_SUM));
|
||||
|
Reference in New Issue
Block a user