Skip to contentSkip to conversation

net: smc91x: Remove unused definition of SMC_outw_be()

PATCH In review Geert Uytterhoeven 2 participants 4 messages Jan 11, 2015 – Jan 16, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 14c53252a73363c0..be67baf5f6778d08 100644
@@ -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
#1 lore raw

Thanks Geert!

Cheers,

Michael

Quoted 23 lines · Geert Uytterhoeven

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 -2
index 14c53252a73363c0..be67baf5f6778d08 100644
@@ -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

#2 lore raw
In reply to Geert Uytterhoeven
Quoted 4 lines · Geert Uytterhoeven

As of commit b7e10fc9c1205fc2 ("net: smc91x: Remove Atari special case handling for SMC_PUSH_DATA") SMC_outw_be() is unused. Remove it.

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

#3 lore raw
Quoted 9 lines · Geert Uytterhoeven
Quoted 4 lines · Geert Uytterhoeven

As of commit b7e10fc9c1205fc2 ("net: smc91x: Remove Atari special case handling for SMC_PUSH_DATA") SMC_outw_be() is unused. Remove it.

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