mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
af_packet: match_fanout_group() can be static
cc: Eric Leblond <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a6b9650108
commit
a0dfb2634e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue