diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2016-03-14 10:01:38 +0100 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-03-14 19:36:07 +0100 |
commit | c6f0b9f195416e2d3c474e51190b6aa0c238aa36 (patch) | |
tree | ccca90362665c25ecd7607deef83ec139c8696a7 /drivers/md | |
parent | md/raid1: remove unnecessary BUG_ON (diff) | |
download | linux-c6f0b9f195416e2d3c474e51190b6aa0c238aa36.tar.xz linux-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.c | 1 |
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 */ |