diff options
author | Joe Perches <joe@perches.com> | 2015-05-05 19:06:12 +0200 |
---|---|---|
committer | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2015-09-23 08:44:27 +0200 |
commit | e15b03625ce1aa5ca4ab782e034af7d5b56e1b19 (patch) | |
tree | b1d16ca1b2693a0e1bba67dd1f33c499f7d1be26 /drivers/net/arcnet/arcdevice.h | |
parent | arcnet: com90xx: Use arcnet_readb/writeb routines (diff) | |
download | linux-e15b03625ce1aa5ca4ab782e034af7d5b56e1b19.tar.xz linux-e15b03625ce1aa5ca4ab782e034af7d5b56e1b19.zip |
arcnet: Remove function pointer macro indirections
It's clearer to use function pointer calls directly instead of the
macro indirections of ARCRESET, ACOMMAND, ASTATUS, and AINTMASK.
Remove the now unused macros too.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/arcdevice.h')
-rw-r--r-- | drivers/net/arcnet/arcdevice.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/arcnet/arcdevice.h b/drivers/net/arcnet/arcdevice.h index a05a77de0917..257748594cdb 100644 --- a/drivers/net/arcnet/arcdevice.h +++ b/drivers/net/arcnet/arcdevice.h @@ -318,11 +318,6 @@ struct arcnet_local { void __iomem *mem_start; /* pointer to ioremap'ed MMIO */ }; -#define ARCRESET(x) (lp->hw.reset(dev, (x))) -#define ACOMMAND(x) (lp->hw.command(dev, (x))) -#define ASTATUS() (lp->hw.status(dev)) -#define AINTMASK(x) (lp->hw.intmask(dev, (x))) - #if ARCNET_DEBUG_MAX & D_SKB void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc); #else |