diff options
author | Paolo Abeni <pabeni@redhat.com> | 2022-06-30 15:17:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-01 13:25:00 +0100 |
commit | e918c137db4083e59866d2aaa603887cbd9969bf (patch) | |
tree | a1b566c17046bd788fbb8dbeef715aa5aa38b343 /include/net/sock.h | |
parent | 69d93daec026cdda98e29e8edb12534bfa5b1a9b (diff) | |
download | lwn-e918c137db4083e59866d2aaa603887cbd9969bf.tar.gz lwn-e918c137db4083e59866d2aaa603887cbd9969bf.zip |
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 <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 40bbd0e8925b..0dd43c3df49b 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)) |