]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: remove SK_RECLAIM_THRESHOLD and SK_RECLAIM_CHUNK
authorPaolo Abeni <pabeni@redhat.com>
Thu, 30 Jun 2022 22:17:57 +0000 (15:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2022 12:25:00 +0000 (13:25 +0100)
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>
include/net/sock.h

index 40bbd0e8925b85a0b9ff34edf09901e62fb002cc..0dd43c3df49b93698cb9a63f0624e839560cdc65 100644 (file)
@@ -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))