lkml.org 
[lkml]   [2004]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] 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(-)


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

--- 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 &&
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.104 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site