mm/hmm.c: remove unneeded local variable ret
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 28 Feb 2022 23:01:47 +0000 (10:01 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:01:47 +0000 (10:01 +1100)
commitdc354b9569937b3b93be500fea4532ecd6745be3
tree75dbb0c44c58632de8f585428394665cec6ee778
parent5bb9978b556c3e5e67ab437664efef142719dcc1
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