commit | bd2d18da4a4f182c3627a74dc768bd437e64c582 | [log] [tgz] |
---|---|---|
author | Wei Yang <[email protected]> | Mon Jun 01 21:48:52 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jun 02 10:59:08 2020 -0700 |
tree | a0c15adaf214bb6ecfd8501198b0ccd379b0b7dc | |
parent | f4eaf51a72e5c6d9dc895abdd02676a2ef4c3ae7 [diff] |
mm/swapfile.c: remove the unnecessary goto for SSD case Now we can see there is redundant goto for SSD case. In these two places, we can just let the code walk through to the correct tag instead of explicitly jump to it. Let's remove them for better readability. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Tim Chen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>