From: Fengguang Wu Date: Thu, 23 Aug 2012 11:51:21 +0000 (+0800) Subject: af_packet: match_fanout_group() can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a0dfb2634e5671770f598cda08002d8cda66ac77;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git af_packet: match_fanout_group() can be static cc: Eric Leblond Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller --- diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index aee7196aac36..c5c9e2a54218 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -1273,7 +1273,7 @@ static void __fanout_unlink(struct sock *sk, struct packet_sock *po) spin_unlock(&f->lock); } -bool match_fanout_group(struct packet_type *ptype, struct sock * sk) +static bool match_fanout_group(struct packet_type *ptype, struct sock * sk) { if (ptype->af_packet_priv == (void*)((struct packet_sock *)sk)->fanout) return true;