mm-remove-the-non-useful-else-after-a-break-in-a-if-statement.patch removed from -mm tree
The quilt patch titled
Subject: mm: remove the non-useful else after a break in a if statement
has been removed from the -mm tree. Its filename was
mm-remove-the-non-useful-else-after-a-break-in-a-if-statement.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: Keren Sun <[email protected]>
Subject: mm: remove the non-useful else after a break in a if statement
Date: Fri, 15 Nov 2024 15:57:44 -0800
Remove the else block since there is already a break in the statement of if (iter->oom_lock), just set iter->oom_lock true after the if block ends.
---
mm/memcontrol-v1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/memcontrol-v1.c renamed from mm/memcontrol-v1.c~mm-remove-the-non-useful-else-after-a-break-in-a-if-statement +2 -2
@@ -1134,8 +1134,8 @@ static bool mem_cgroup_oom_trylock(struc failed = iter;mem_cgroup_iter_break (memcg, iter);break ; - }else - iter->oom_lock = true; + } + iter->oom_lock = true; }if (failed) {
_
Patches currently in -mm which might be from [email protected] are