From: Andrew Morton Date: Tue, 21 Mar 2006 07:00:56 +0000 (-0800) Subject: [BRIDGE]: Remove duplicate const from is_link_local() argument type. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3e83d6d187664be56a1591ccfa99124b88f0582;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [BRIDGE]: Remove duplicate const from is_link_local() argument type. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index a9feb2015425..b7766562d72c 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -109,7 +109,7 @@ static int br_handle_local_finish(struct sk_buff *skb) /* Does address match the link local multicast address. * 01:80:c2:00:00:0X */ -static inline int is_link_local(const const unsigned char *dest) +static inline int is_link_local(const unsigned char *dest) { return memcmp(dest, br_group_address, 5) == 0 && (dest[5] & 0xf0) == 0; }