Skip to content

Commit

Permalink
arcnet: Remove unused arcnet_<I/O>w macros
Browse files Browse the repository at this point in the history
The word length macros are unused.  Remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
  • Loading branch information
Joe Perches authored and Michael Grzeschik committed Sep 23, 2015
1 parent 8e0f295 commit 4b0dad8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/net/arcnet/arcdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,16 +358,6 @@ void arcnet_timeout(struct net_device *dev);
#define arcnet_outsb(addr, offset, buffer, count) \
outsb((addr) + BUS_ALIGN * (offset), buffer, count)

#define arcnet_inw(addr, offset) \
inw((addr) + BUS_ALIGN * (offset))
#define arcnet_outw(value, addr, offset) \
outw(value, (addr) + BUS_ALIGN * (offset))

#define arcnet_insw(addr, offset, buffer, count) \
insw((addr) + BUS_ALIGN * (offset), buffer, count)
#define arcnet_outsw(addr, offset, buffer, count) \
outsw((addr) + BUS_ALIGN * (offset), buffer, count)

#define arcnet_readb(addr, offset) \
readb((addr) + (offset))
#define arcnet_writeb(value, addr, offset) \
Expand Down

0 comments on commit 4b0dad8

Please sign in to comment.