net: smc91x: Remove unused definition of SMC_outw_be()
Subsystems (2)
PATCH 1/1 net: smc91x: Remove unused definition of SMC_outw_be()
As of commit b7e10fc9c1205fc2 ("net: smc91x: Remove Atari special case handling for SMC_PUSH_DATA") SMC_outw_be() is unused. Remove it.
--- drivers/net/ethernet/smsc/smc91x.h | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/smsc/smc91x.h +0 -1
@@ -228,7 +228,6 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)#define SMC_inl (a, r) readl((a) + (r))#define SMC_outb (v, a, r) writeb(v, (a) + (r))#define SMC_outw (v, a, r) writew(v, (a) + (r)) -#define SMC_outw_be (v, a, r) writew_be(v, (a) + (r))#define SMC_outl (v, a, r) writel(v, (a) + (r))#define SMC_insw (a, r, p, l) readsw((a) + (r), p, l)#define SMC_outsw (a, r, p, l) writesw((a) + (r), p, l)
Signature · 1 line
1.9.1
Thanks Geert!
Cheers,
Michael
Quoted 23 lines · Geert Uytterhoeven
As of commit
b7e10fc9c1205fc2("net: smc91x: Remove Atari special case handling forSMC_PUSH_DATA")SMC_outw_be()is unused. Remove it.Signed-off-by Geert Uytterhoeven <[email protected]>--- drivers/net/ethernet/smsc/smc91x.h | 1 - 1 file changed, 1 deletion(-)drivers/net/ethernet/smsc/smc91x.h +0
-2@@ -228,7 +228,6 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)#define SMC_inl (a, r) readl((a) + (r))#define SMC_outb (v, a, r) writeb(v, (a) + (r))#define SMC_outw (v, a, r) writew(v, (a) + (r)) -#define SMC_outw_be (v, a, r) writew_be(v, (a) + (r))#define SMC_outl (v, a, r) writel(v, (a) + (r))#define SMC_insw (a, r, p, l) readsw((a) + (r), p, l)#define SMC_outsw (a, r, p, l) writesw((a) + (r), p, l) --1.9.1
Quoted 4 lines · Geert Uytterhoeven
As of commit
b7e10fc9c1205fc2("net: smc91x: Remove Atari special case handling forSMC_PUSH_DATA")SMC_outw_be()is unused. Remove it.Signed-off-by Geert Uytterhoeven <[email protected]>
Applied and folded into "net: smc91x: Add Atari EtherNAT support", which now looks upstreamable.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 9 lines · Geert Uytterhoeven
Quoted 4 lines · Geert Uytterhoeven
As of commit
b7e10fc9c1205fc2("net: smc91x: Remove Atari special case handling forSMC_PUSH_DATA")SMC_outw_be()is unused. Remove it.Signed-off-by Geert Uytterhoeven <[email protected]>Applied and folded into "net: smc91x: Add Atari EtherNAT support", which now looks upstreamable.
Thanks to all the recent cleanups, the changes needed to support EtherNAT became really slim, and the support is now in net-next, so it will be in v3.20.
So my next question is: Can "m68k/atari: USB - add ISP1160 USB host controller support" be simplified, too?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds