Re: [2.6 patch] net/3c505.c: remove unused functions

From: Adrian Bunk
Date: Thu Oct 28 2004 - 19:29:15 EST


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

The patch below removes two unused functions from drivers/net/3c505.c


diffstat output:
drivers/net/3c505.c | 10 ----------
1 files changed, 10 deletions(-)


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm1-full/drivers/net/3c505.c.old 2004-10-28 23:22:50.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/net/3c505.c 2004-10-28 23:23:08.000000000 +0200
@@ -228,16 +228,6 @@
outb(val, base_addr + PORT_COMMAND);
}

-static inline unsigned int inw_data(unsigned int base_addr)
-{
- return inw(base_addr + PORT_DATA);
-}
-
-static inline void outw_data(unsigned int val, unsigned int base_addr)
-{
- outw(val, base_addr + PORT_DATA);
-}
-
static inline unsigned int backlog_next(unsigned int n)
{
return (n + 1) % BACKLOG_SIZE;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/