diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-10-14 02:57:14 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-14 04:38:34 +0300 |
commit | 544941d788319951ae75bae5d1bce076a6f71949 (patch) | |
tree | 91834edb7d541ea9dca0504ac898f3b48fdfedcd /arch/powerpc | |
parent | f8fd52535c7326d72645c9878d7897aaf44db51c (diff) | |
download | linux-544941d788319951ae75bae5d1bce076a6f71949.tar.xz |
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>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions