Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[LLC]: Kill static inline llc_addrany

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>

authored by

Ilpo Järvinen and committed by
David S. Miller
03a64c93 a90bcbd6

-5
-5
include/net/llc_if.h
··· 74 74 return is_zero_ether_addr(mac); 75 75 } 76 76 77 - static inline int llc_addrany(const struct llc_addr *addr) 78 - { 79 - return llc_mac_null(addr->mac) && !addr->lsap; 80 - } 81 - 82 77 static inline int llc_mac_multicast(const u8 *mac) 83 78 { 84 79 return is_multicast_ether_addr(mac);