Searched hist:"544941 d788319951ae75bae5d1bce076a6f71949" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | mempool.c | diff 544941d788319951ae75bae5d1bce076a6f71949 Tue Oct 13 18:57:14 CDT 2020 Miaohe Lin <linmiaohe@huawei.com> mm/mempool: add 'else' to split mutually exclusive case
Add else to split mutually exclusive case and avoid some unnecessary check. It doesn't seem to change code generation (compiler is smart), but I think it helps readability.
[akpm@linux-foundation.org: fix comment location]
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/20200924111641.28922-1-linmiaohe@huawei.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|