]> err.no Git - linux-2.6/commitdiff
[LLC]: Kill static inline llc_addrany
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Fri, 29 Feb 2008 19:46:17 +0000 (11:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:46:17 +0000 (11:46 -0800)
After the patch:
$ git-grep llc_addrany | wc -l
0

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/llc_if.h

index c608812a8e8949e23d7b5804b84167b140fbeda2..b595a004d31b1ac9e514ac8f6ce7a780f2cc52c4 100644 (file)
@@ -74,11 +74,6 @@ static inline int llc_mac_null(const u8 *mac)
        return is_zero_ether_addr(mac);
 }
 
-static inline int llc_addrany(const struct llc_addr *addr)
-{
-       return llc_mac_null(addr->mac) && !addr->lsap;
-}
-
 static inline int llc_mac_multicast(const u8 *mac)
 {
        return is_multicast_ether_addr(mac);