Skip to contentSkip to conversation

net/skfp/smt.c: remove an unused function

PATCH New Adrian Bunk 1 participant 2 messages Oct 28, 2004 – Oct 29, 2004 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/skfp/smt.c: remove an unused function

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

The patch below removes an unused function from drivers/net/skfp/smt.c

diffstat output:

 drivers/net/skfp/smt.c |    7 -------
 1 files changed, 7 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/net/skfp/smt.c.old 2004-10-28 23:18:46.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/net/skfp/smt.c 2004-10-28 23:19:00.000000000 +0200
@@ -135,13 +135,6 @@
*(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[4])) ;
}

- -static inline int is_zero(const struct fddi_addr *addr)
- -{
- - return(*(short *)(&addr->a[0]) == 0 &&
- - *(short *)(&addr->a[2]) == 0 &&
- - *(short *)(&addr->a[4]) == 0 ) ;
- -}
- -
static inline int is_broadcast(const struct fddi_addr *addr) {
return(*(u_short *)(&addr->a[0]) == 0xffff &&

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

iD8DBQFBgXsymfzqmE8StAARAhK0AJ40SOGXWcEsTBTsn5VT9QzBqogwxwCghiME UKKBxu3t4KJqGbbsbcOLx2Q=
=Dxpv
-----END PGP SIGNATURE-----

#1 lore raw

PATCH 1/1 net/skfp/smt.c: remove an unused function

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

The patch below removes an unused function from drivers/net/skfp/smt.c

diffstat output:

 drivers/net/skfp/smt.c |    7 -------
 1 files changed, 7 deletions(-)
drivers/net/skfp/smt.c renamed from drivers/net/skfp/smt.c.old +0 -7
@@ -135,13 +135,6 @@
 		*(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[4])) ;
 }
 
-static inline int is_zero(const struct fddi_addr *addr)
-{
-	return(*(short *)(&addr->a[0]) == 0 &&
-	       *(short *)(&addr->a[2]) == 0 &&
-	       *(short *)(&addr->a[4]) == 0 ) ;
-}
-
 static inline int is_broadcast(const struct fddi_addr *addr)
 {
 	return(*(u_short *)(&addr->a[0]) == 0xffff &&