Commit c6f0b9f1 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Shaohua Li

md/bitmap: remove redundant return in bitmap_checkpage

The "return 0" is not needed since bitmap_checkpage
will finally return 0 for the case.
Signed-off-by: default avatarGuoqing Jiang <gqjiang@suse.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent b3c95b42
......@@ -98,7 +98,6 @@ __acquires(bitmap->lock)
bitmap->bp[page].hijacked) {
/* somebody beat us to getting the page */
kfree(mappage);
return 0;
} else {
/* no page was in place and we have one, so install it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment