af_packet: match_fanout_group() can be static
cc: Eric Leblond <eric@regit.org> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a6b9650108
commit
a0dfb2634e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue