Message ID | 20220213190607.183394-1-eric.dumazet@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show |
Series | crypto: af_alg - get rid of alg_memory_allocated | expand |
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Sun, 13 Feb 2022 11:06:07 -0800 you wrote: > From: Eric Dumazet <edumazet@google.com> > > alg_memory_allocated does not seem to be really used. > > alg_proto does have a .memory_allocated field, but no > corresponding .sysctl_mem. > > [...] Here is the summary with links: - crypto: af_alg - get rid of alg_memory_allocated https://git.kernel.org/netdev/net/c/25206111512d You are awesome, thank you!
diff --git a/crypto/af_alg.c b/crypto/af_alg.c index e1ea18536a5f085c816c88bb28da029a5f3a1d3e..c8289b7a85baaa0a83fefcfc0928ea67d522f98c 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@ -25,12 +25,9 @@ struct alg_type_list { struct list_head list; }; -static atomic_long_t alg_memory_allocated; - static struct proto alg_proto = { .name = "ALG", .owner = THIS_MODULE, - .memory_allocated = &alg_memory_allocated, .obj_size = sizeof(struct alg_sock), };