From: Paolo Abeni Date: Thu, 30 Jun 2022 22:17:57 +0000 (-0700) Subject: net: remove SK_RECLAIM_THRESHOLD and SK_RECLAIM_CHUNK X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e918c137db4083e59866d2aaa603887cbd9969bf;p=linux.git net: remove SK_RECLAIM_THRESHOLD and SK_RECLAIM_CHUNK There are no more users for the mentioned macros, just drop them. Signed-off-by: Paolo Abeni Signed-off-by: Mat Martineau Signed-off-by: David S. Miller --- diff --git a/include/net/sock.h b/include/net/sock.h index 40bbd0e8925b8..0dd43c3df49b9 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -1619,11 +1619,6 @@ static inline void sk_mem_charge(struct sock *sk, int size) sk->sk_forward_alloc -= size; } -/* the following macros control memory reclaiming in mptcp_rmem_uncharge() - */ -#define SK_RECLAIM_THRESHOLD (1 << 21) -#define SK_RECLAIM_CHUNK (1 << 20) - static inline void sk_mem_uncharge(struct sock *sk, int size) { if (!sk_has_account(sk))