]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad754b1612aac6b228f9fff6698d0121cafcd4d7
tree4a366088198f929aae25ee42712b40cbd7d2f1bf
parent6d11a868b4a706aee68caa59771556659f64839a
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