Searched hist:c1766dd7829802b3a451682234497a8539763bd1 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | extent_map.h | diff c1766dd7829802b3a451682234497a8539763bd1 Wed Sep 12 22:01:15 CDT 2018 zhong jiang <zhongjiang@huawei.com> 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>
|
H A D | extent_map.c | diff c1766dd7829802b3a451682234497a8539763bd1 Wed Sep 12 22:01:15 CDT 2018 zhong jiang <zhongjiang@huawei.com> 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>
|