-----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 <[email protected]>
- --- 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-----
[ 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 <[email protected]>
--- 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);
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