diff options
| author | Jiapeng Zhong <[email protected]> | 2021-02-24 12:07:09 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:32 -0800 |
| commit | c93b0a99260741a4fe39c0a8b73f45f34a5b7868 (patch) | |
| tree | f4f658b751d1aebc7b586a8821b9c74163081d3d /tools/perf/scripts/python | |
| parent | 1d88433bb00853bed0c776b6ad9156855c127da0 (diff) | |
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/[email protected]
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]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions