btrfs: change remove_extent_mapping to return void
authorzhong jiang <zhongjiang@huawei.com>
Thu, 13 Sep 2018 03:01:15 +0000 (11:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:31 +0000 (17:23 +0200)
commitc1766dd7829802b3a451682234497a8539763bd1
tree4a366088198f929aae25ee42712b40cbd7d2f1bf
parent315bed43fea532650933e7bba316a7601d439edf
btrfs: change remove_extent_mapping to return void

remove_extent_mapping uses the variable "ret" for return value, but it
is not modified after initialzation. Further, I find that any of the
callers do not handle the return value and the callees are only simple
functions so the return values does not need to be passed.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_map.c
fs/btrfs/extent_map.h