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>
This commit is contained in:
parent
69d93daec0
commit
e918c137db
|
@ -1619,11 +1619,6 @@ static inline void sk_mem_charge(struct sock *sk, int size)
|
||||||
sk->sk_forward_alloc -= 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)
|
static inline void sk_mem_uncharge(struct sock *sk, int size)
|
||||||
{
|
{
|
||||||
if (!sk_has_account(sk))
|
if (!sk_has_account(sk))
|
||||||
|
|
Loading…
Reference in New Issue