Messages in this thread Patch in this message | | | Date | Fri, 29 Oct 2004 02:22:35 +0200 | From | Adrian Bunk <> | 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/
| |