aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2016-03-14 17:01:38 +0800
committerShaohua Li <shli@fb.com>2016-03-14 11:36:07 -0700
commitc6f0b9f195416e2d3c474e51190b6aa0c238aa36 (patch)
treeccca90362665c25ecd7607deef83ec139c8696a7 /drivers/md
parentmd/raid1: remove unnecessary BUG_ON (diff)
downloadlinux-dev-c6f0b9f195416e2d3c474e51190b6aa0c238aa36.tar.xz
linux-dev-c6f0b9f195416e2d3c474e51190b6aa0c238aa36.zip
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 <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bitmap.c1
1 files changed, 0 insertions, 1 deletions
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 */