netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 07/13] smc911x: remove unused 8-bit I/O operations
@ 2008-06-09 23:33 akpm
  2008-06-12  2:50 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-06-09 23:33 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm, magnus.damm, damm, lethal

From: Magnus Damm <magnus.damm@gmail.com>

Remove unused SMC_inb() and SMC_outb() functions.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/smc911x.h |    4 ----
 1 file changed, 4 deletions(-)

diff -puN drivers/net/smc911x.h~smc911x-remove-unused-8-bit-i-o-operations drivers/net/smc911x.h
--- a/drivers/net/smc911x.h~smc911x-remove-unused-8-bit-i-o-operations
+++ a/drivers/net/smc911x.h
@@ -50,10 +50,8 @@
  */
 
 #if	SMC_USE_16BIT
-#define SMC_inb(a, r)			 readb((a) + (r))
 #define SMC_inw(a, r)			 readw((a) + (r))
 #define SMC_inl(a, r)			 ((SMC_inw(a, r) & 0xFFFF)+(SMC_inw(a+2, r)<<16))
-#define SMC_outb(v, a, r)		 writeb(v, (a) + (r))
 #define SMC_outw(v, a, r)		 writew(v, (a) + (r))
 #define SMC_outl(v, a, r) 			 \
 	do{					 \
@@ -64,10 +62,8 @@
 #define SMC_outsl(a, r, p, l)	 writesw((short*)((a) + (r)), p, l*2)
 
 #elif	SMC_USE_32BIT
-#define SMC_inb(a, r)		 readb((a) + (r))
 #define SMC_inw(a, r)		 readw((a) + (r))
 #define SMC_inl(a, r)		 readl((a) + (r))
-#define SMC_outb(v, a, r)	 writeb(v, (a) + (r))
 #define SMC_outl(v, a, r)	 writel(v, (a) + (r))
 #define SMC_insl(a, r, p, l)	 readsl((int*)((a) + (r)), p, l)
 #define SMC_outsl(a, r, p, l)	 writesl((int*)((a) + (r)), p, l)
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 07/13] smc911x: remove unused 8-bit I/O operations
  2008-06-09 23:33 [patch 07/13] smc911x: remove unused 8-bit I/O operations akpm
@ 2008-06-12  2:50 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-06-12  2:50 UTC (permalink / raw)
  To: akpm; +Cc: netdev, magnus.damm, damm, lethal

akpm@linux-foundation.org wrote:
> From: Magnus Damm <magnus.damm@gmail.com>
> 
> Remove unused SMC_inb() and SMC_outb() functions.
> 
> Signed-off-by: Magnus Damm <damm@igel.co.jp>
> Cc: Jeff Garzik <jeff@garzik.org>
> Cc: Paul Mundt <lethal@linux-sh.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---

applied 7-13




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-12  2:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-09 23:33 [patch 07/13] smc911x: remove unused 8-bit I/O operations akpm
2008-06-12  2:50 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).