diff options
author | Jiapeng Zhong <abaci-bugfix@linux.alibaba.com> | 2021-02-24 23:07:09 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-25 00:38:32 +0300 |
commit | c93b0a99260741a4fe39c0a8b73f45f34a5b7868 (patch) | |
tree | f4f658b751d1aebc7b586a8821b9c74163081d3d /include/linux/mm.h | |
parent | 1d88433bb00853bed0c776b6ad9156855c127da0 (diff) | |
download | linux-c93b0a99260741a4fe39c0a8b73f45f34a5b7868.tar.xz |
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.
Link: https://lkml.kernel.org/r/1611643468-52233-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
0 files changed, 0 insertions, 0 deletions