mm-hugetlb-simplify-the-calculation-of-variables.patch removed from -mm tree
The patch titled
Subject: mm/hugetlb: simplify the calculation of variables
has been removed from the -mm tree. Its filename was
mm-hugetlb-simplify-the-calculation-of-variables.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jiapeng Zhong <[email protected]>
Subject: mm/hugetlb: simplify the calculation of variables
Fix the following coccicheck warnings:
./mm/hugetlb.c:3372:20-22: WARNING !A || A && B is equivalent to !A || B.
Signed-off-by Jiapeng Zhong <[email protected]>
Reported-by Abaci Robot <[email protected]>
Reviewed-by Miaohe Lin <[email protected]>
Reviewed-by Mike Kravetz <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/hugetlb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-simplify-the-calculation-of-variables +1 -2
@@ -3420,8 +3420,7 @@ static unsigned int allowed_mems_nr(stru mpol_allowed =policy_nodemask_current (gfp_mask);for_each_node_mask (node, cpuset_current_mems_allowed) { -if (!mpol_allowed || - (mpol_allowed &&node_isset (node, *mpol_allowed))) +if (!mpol_allowed ||node_isset (node, *mpol_allowed)) nr += array[node]; }
_
Patches currently in -mm which might be from [email protected] are