Skip to content

Commit

Permalink
dm cache policy: remove return from void policy_remove_mapping
Browse files Browse the repository at this point in the history
No need to return from a void function.

Signed-off-by: Joe Thornber <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
  • Loading branch information
jthornber authored and snitm committed Nov 9, 2013
1 parent 238f836 commit 3351937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-cache-policy-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3351937

Please sign in to comment.