summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-03-21 08:00:56 +0100
committerDavid S. Miller <davem@davemloft.net>2006-03-21 08:00:56 +0100
commitb3e83d6d187664be56a1591ccfa99124b88f0582 (patch)
tree58973aa72cb93585fcd4d8eb04da27f5133e211e /net/bridge/br_input.c
parent[DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking (diff)
downloadlinux-b3e83d6d187664be56a1591ccfa99124b88f0582.tar.xz
linux-b3e83d6d187664be56a1591ccfa99124b88f0582.zip
[BRIDGE]: Remove duplicate const from is_link_local() argument type.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r--net/bridge/br_input.c2
1 files changed, 1 insertions, 1 deletions
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;
}