net: inline sock_prot_inuse_add()

[ Upstream commit 2a12ae5d43 ]

sock_prot_inuse_add() is very small, we can inline it.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: a9bf9c7dc6 ("af_unix: Annotate data-race of sk->sk_state in unix_stream_connect().")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Eric Dumazet 2021-11-15 09:11:47 -08:00 • committed by Greg Kroah-Hartman
commit aa4ed1e0f6
2 changed files with 11 additions and 14 deletions