mm/filemap.c: remove else after a return
authorHailong Liu <carver4lio@163.com>
Tue, 15 Dec 2020 03:05:02 +0000 (19:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:38 +0000 (12:13 -0800)
commit800bca7c56023c2a89fe9a206a56f3788b54f767
treebbe0f0587c8d9c31393d99caab9cde2b61050322
parent649c6dfed0302620a191ca91196d923463cfa766
mm/filemap.c: remove else after a return

The `else' is not useful after a `return' in __lock_page_or_retry().

[akpm@linux-foundation.org: coding style fixes]

Link: https://lkml.kernel.org/r/20201202154720.115162-1-carver4lio@163.com
Signed-off-by: Hailong Liu<liu.hailong6@zte.com.cn>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c