mm: kmemleak: drop kmemleak_warning variable
authorLuiz Capitulino <luizcap@redhat.com>
Wed, 30 Apr 2025 20:59:45 +0000 (16:59 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 13 May 2025 06:50:47 +0000 (23:50 -0700)
commite313ee4ebb357af5e316863ed15d01eb2c2e2a2f
tree295a3923d8d5eac24a615b715fc2a0b548e094e5
parent906d7ce3b59d62cf017ca602a0dfcb29413b8872
mm: kmemleak: drop kmemleak_warning variable

These are a trivial mm/kmemleak.c cleanups.  I found these while reading
through the code.

This patch (of 3):

The kmemleak_warning variable is not used since commit c5665868183f ("mm:
kmemleak: use the memory pool for early allocations"), drop it.

Link: https://lkml.kernel.org/r/cover.1746046744.git.luizcap@redhat.com
Link: https://lkml.kernel.org/r/97e23faa7b67099027a1094c9438da5f72e037af.1746046744.git.luizcap@redhat.com
Signed-off-by: Luiz Capitulino <luizcap@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmemleak.c