mm-kmemleak-drop-kmemleak_warning-variable.patch removed from -mm tree
The quilt patch titled
Subject: mm: kmemleak: drop kmemleak_warning variable
has been removed from the -mm tree. Its filename was
mm-kmemleak-drop-kmemleak_warning-variable.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Luiz Capitulino <[email protected]>
Subject: mm: kmemleak: drop kmemleak_warning variable
Date: Wed, 30 Apr 2025 16:59:45 -0400
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.
---
mm/kmemleak.c | 3 --- 1 file changed, 3 deletions(-)
mm/kmemleak.c renamed from mm/kmemleak.c~mm-kmemleak-drop-kmemleak_warning-variable +0 -3
@@ -215,8 +215,6 @@ static int kmemleak_enabled = 1;static int kmemleak_free_enabled =1 ;/* set in the late_initcall if there were no errors */ static int kmemleak_late_initialized; -/* set if a kmemleak warning was issued */ -static int kmemleak_warning;/* set if a fatal kmemleak error has occurred */ static int kmemleak_error;
@@ -254,7 +252,6 @@ static void kmemleak_disable(void); #define kmemleak_warn(x...) do { \ pr_warn(x); \ dump_stack(); \ - kmemleak_warning = 1; \ } while (0)/*
_
Patches currently in -mm which might be from [email protected] are