public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] pcmcia/yenta_socket.c: remove an unused function
@ 2004-10-28 23:13 Adrian Bunk
  2004-10-29  0:25 ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-28 23:13 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unused function from 
drivers/pcmcia/yenta_socket.c


diffstat output:
 drivers/pcmcia/yenta_socket.c |    9 ---------
 1 files changed, 9 deletions(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

- --- linux-2.6.10-rc1-mm1-full/drivers/pcmcia/yenta_socket.c.old	2004-10-28 23:23:42.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/pcmcia/yenta_socket.c	2004-10-28 23:23:54.000000000 +0200
@@ -109,15 +109,6 @@
 	return val;
 }
 
- -static inline u8 exca_readw(struct yenta_socket *socket, unsigned reg)
- -{
- -	u16 val;
- -	val = readb(socket->base + 0x800 + reg);
- -	val |= readb(socket->base + 0x800 + reg + 1) << 8;
- -	debug("%p %04x %04x\n", socket, reg, val);
- -	return val;
- -}
- -
 static inline void exca_writeb(struct yenta_socket *socket, unsigned reg, u8 val)
 {
 	debug("%p %04x %02x\n", socket, reg, val);

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgX0WmfzqmE8StAARAn5EAKCM4SCL+XDYjmNZ4XGNYEbscJ1yLgCdHt/L
SuvjYnXEm4C3sU/lNWX6Zvs=
=Tthp
-----END PGP SIGNATURE-----

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

* [2.6 patch] pcmcia/yenta_socket.c: remove an unused function
  2004-10-28 23:13 [2.6 patch] pcmcia/yenta_socket.c: remove an unused function Adrian Bunk
@ 2004-10-29  0:25 ` Adrian Bunk
  2004-11-20  9:35   ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-29  0:25 UTC (permalink / raw)
  To: linux-kernel

[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from 
drivers/pcmcia/yenta_socket.c


diffstat output:
 drivers/pcmcia/yenta_socket.c |    9 ---------
 1 files changed, 9 deletions(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc1-mm1-full/drivers/pcmcia/yenta_socket.c.old	2004-10-28 23:23:42.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/pcmcia/yenta_socket.c	2004-10-28 23:23:54.000000000 +0200
@@ -109,15 +109,6 @@
 	return val;
 }
 
-static inline u8 exca_readw(struct yenta_socket *socket, unsigned reg)
-{
-	u16 val;
-	val = readb(socket->base + 0x800 + reg);
-	val |= readb(socket->base + 0x800 + reg + 1) << 8;
-	debug("%p %04x %04x\n", socket, reg, val);
-	return val;
-}
-
 static inline void exca_writeb(struct yenta_socket *socket, unsigned reg, u8 val)
 {
 	debug("%p %04x %02x\n", socket, reg, val);

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

* Re: [2.6 patch] pcmcia/yenta_socket.c: remove an unused function
  2004-10-29  0:25 ` Adrian Bunk
@ 2004-11-20  9:35   ` Russell King
  0 siblings, 0 replies; 3+ messages in thread
From: Russell King @ 2004-11-20  9:35 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Fri, Oct 29, 2004 at 02:25:09AM +0200, Adrian Bunk wrote:
> The patch below removes an unused function from 
> drivers/pcmcia/yenta_socket.c

I'd rather not remove this function - it's part of a logical set of IO
primitives for this device.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

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

end of thread, other threads:[~2004-11-20  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 23:13 [2.6 patch] pcmcia/yenta_socket.c: remove an unused function Adrian Bunk
2004-10-29  0:25 ` Adrian Bunk
2004-11-20  9:35   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox