]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccb44f1fc6e9521ad0b7ea9f5bf5b879b5a7e5b0
tree699a2aece0b23d4273f664c0da1d56eddd6cf2f3
parent5cd7ee989df40ffc7fb975f529ef52fbc3de3589
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