net/3c505.c: remove unused functions
PATCH 1/1 net/3c505.c: remove unused functions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The patch below removes two unused functions from drivers/net/3c505.c
diffstat output:
drivers/net/3c505.c | 10 ---------- 1 files changed, 10 deletions(-)
- --- 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;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBgXl6mfzqmE8StAARAst0AKCt9F+zgAhkebq7HEw/u+7Jvm71GQCgnlhi DRcy9g2enq0wdxCbBgiBTTA=
=wTU7
-----END PGP SIGNATURE-----
[ 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(-)
drivers/net/3c505.c renamed from drivers/net/3c505.c.old +0 -10
@@ -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 ;