]> git.baikalelectronics.ru Git - kernel.git/commit
mm/hmm.c: remove unneeded local variable ret
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:48:28 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:12 +0000 (15:57 -0700)
commit5269bc6a367b6879fd1d9a9e78a211159c9ec593
tree0223bc8ac5997098863694f63e5541c4ac7243c7
parent3dd8b4a26975ea090bc9ec9259b2e0bb92ccea63
mm/hmm.c: remove unneeded local variable ret

The local variable ret is always 0. Remove it to make code more tight.

Link: https://lkml.kernel.org/r/20220125124833.39718-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hmm.c