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:
238f836
)
dm cache policy: remove return from void policy_remove_mapping
author
Joe Thornber
<ejt@redhat.com>
Thu, 24 Oct 2013 18:10:28 +0000
(14:10 -0400)
committer
Mike Snitzer
<snitzer@redhat.com>
Sat, 9 Nov 2013 23:20:16 +0000
(18:20 -0500)
No need to return from a void function.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-internal.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-cache-policy-internal.h
b/drivers/md/dm-cache-policy-internal.h
index 0928abdc49f023de5a696dd082e160bc65d37cdd..a75f7e7498ebc5e68b026e818e3722d01dd8f0f9 100644
(file)
--- a/
drivers/md/dm-cache-policy-internal.h
+++ b/
drivers/md/dm-cache-policy-internal.h
@@
-61,7
+61,7
@@
static inline int policy_writeback_work(struct dm_cache_policy *p,
static inline void policy_remove_mapping(struct dm_cache_policy *p, dm_oblock_t oblock)
{
-
return
p->remove_mapping(p, oblock);
+ p->remove_mapping(p, oblock);
}
static inline void policy_force_mapping(struct dm_cache_policy *p,