summaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.c
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/bitmap.c
parentb3c95b425e0991840262dba8dd095f2682dbf848 (diff)
downloadlinux-c6f0b9f195416e2d3c474e51190b6aa0c238aa36.tar.bz2
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/bitmap.c')
-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 */