aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-03-20 23:00:56 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 23:00:56 -0800
commitb3e83d6d187664be56a1591ccfa99124b88f0582 (patch)
tree58973aa72cb93585fcd4d8eb04da27f5133e211e /net/bridge
parent[DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking (diff)
downloadlinux-dev-b3e83d6d187664be56a1591ccfa99124b88f0582.tar.xz
linux-dev-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')
-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;
}