mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
dm cache policy: remove return from void policy_remove_mapping
No need to return from a void function. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
238f8363b6
commit
3351937e4a
@ -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)
|
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,
|
static inline void policy_force_mapping(struct dm_cache_policy *p,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user