X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fnet%2Fskfp%2Fsmt.c;h=71935eaf9d4eccd1cd30697459c261dabf9c583c;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=721569b5e4a065d5593717009aa7289700c8c829;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 721569b5e..71935eaf9 100644 --- a/drivers/net/skfp/smt.c +++ b/drivers/net/skfp/smt.c @@ -135,13 +135,6 @@ static inline int is_my_addr(const struct s_smc *smc, *(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 &&