aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2018-09-13 03:01:15 +0000
committerDavid Sterba <[email protected]>2018-10-15 15:23:31 +0000
commitc1766dd7829802b3a451682234497a8539763bd1 (patch)
tree4a366088198f929aae25ee42712b40cbd7d2f1bf /fs/btrfs/dev-replace.c
parentbtrfs: handle error of get_old_root (diff)
downloadkernel-c1766dd7829802b3a451682234497a8539763bd1.tar.gz
kernel-c1766dd7829802b3a451682234497a8539763bd1.zip
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 <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions