From: Guoqing Jiang Date: Mon, 14 Mar 2016 09:01:38 +0000 (+0800) Subject: md/bitmap: remove redundant return in bitmap_checkpage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6f0b9f195416e2d3c474e51190b6aa0c238aa36;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Guoqing Jiang Signed-off-by: Shaohua Li --- diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index bbe7b64f3e31..7df6b4f1548a 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -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 */