mm/hmm.c: remove unneeded local variable ret
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 16 Feb 2022 04:31:34 +0000 (15:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 17 Feb 2022 03:46:39 +0000 (14:46 +1100)
commit89c322af9a3743c838f70bd34bd70654bcf3cfd1
tree94e8225e167c84a2e7af8d532ca46e7d2b3fe188
parent76b3778250cd54ebd9a04741f3079fbaa744a5af
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: Stephen Rothwell <sfr@canb.auug.org.au>
mm/hmm.c