projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c95b4
)
md/bitmap: remove redundant return in bitmap_checkpage
author
Guoqing Jiang
<gqjiang@suse.com>
Mon, 14 Mar 2016 09:01:38 +0000
(17:01 +0800)
committer
Shaohua Li
<shli@fb.com>
Mon, 14 Mar 2016 18:36:07 +0000
(11:36 -0700)
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>
drivers/md/bitmap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/bitmap.c
b/drivers/md/bitmap.c
index bbe7b64f3e3141d11ef3f3758737d6244a7340ed..7df6b4f1548a47935c7bafcba1ffa06ed3335ecb 100644
(file)
--- 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 */