mm/swapfile.c: remove unnecessary goto out in _swap_info_get()
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 13 Oct 2020 23:52:27 +0000 (16:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:30 +0000 (18:38 -0700)
commit7a3d52e45e00dd1cb1f2e81661e53e324e0a7b82
tree699a2aece0b23d4273f664c0da1d56eddd6cf2f3
parent12eab4289d3203be384d0c0733670c2c9daa1880
mm/swapfile.c: remove unnecessary goto out in _swap_info_get()

It's unnecessary to goto the out label while out label is just below.

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