Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0dfb263 authored by Fengguang Wu's avatar Fengguang Wu Committed by David S. Miller
Browse files

af_packet: match_fanout_group() can be static



cc: Eric Leblond <eric@regit.org>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a6b96501
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;