diff options
author | Liu Xiang <liu.xiang6@zte.com.cn> | 2019-05-14 02:16:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-14 18:47:45 +0200 |
commit | a4d3f8916c65b63e6b9457cdec74ceaaff7e6b12 (patch) | |
tree | 81bdf6bab6cec6547216d305a7a476f1c6c88873 /net/sctp/primitive.c | |
parent | mm: remove stale comment from page struct (diff) | |
download | linux-a4d3f8916c65b63e6b9457cdec74ceaaff7e6b12.tar.xz linux-a4d3f8916c65b63e6b9457cdec74ceaaff7e6b12.zip |
slub: remove useless kmem_cache_debug() before remove_full()
When CONFIG_SLUB_DEBUG is not enabled, remove_full() is empty.
While CONFIG_SLUB_DEBUG is enabled, remove_full() can check
s->flags by itself. So kmem_cache_debug() is useless and
can be removed.
Link: http://lkml.kernel.org/r/1552577313-2830-1-git-send-email-liu.xiang6@zte.com.cn
Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sctp/primitive.c')
0 files changed, 0 insertions, 0 deletions