提交 b3e83d6d 编写于 作者: A Andrew Morton 提交者: David S. Miller

[BRIDGE]: Remove duplicate const from is_link_local() argument type.

Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 34001127
...@@ -109,7 +109,7 @@ static int br_handle_local_finish(struct sk_buff *skb) ...@@ -109,7 +109,7 @@ static int br_handle_local_finish(struct sk_buff *skb)
/* Does address match the link local multicast address. /* Does address match the link local multicast address.
* 01:80:c2:00:00:0X * 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; return memcmp(dest, br_group_address, 5) == 0 && (dest[5] & 0xf0) == 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部