[PATCHv4 0/3] btrfs: remove unneeded variable and if possbile
From: zhong jiang
Date: Thu Aug 16 2018 - 12:49:39 EST
v3->v4:
- btrfs_destroy_delayed_refs return value would be actually needed.
so just remove the unneeded variable "ret" and modify the subject
v2->v3:
- repost the patches with detailed commit message.
v1->v2:
- Fix v1 issue that forget to return after remove the variable "ret".
zhong jiang (3):
btrfs: remove unneeded variable "ret" in btrfs_destroy_delayed_refs
btrfs: change btrfs_free_reserved_bytes to be void funtion
btrfs: change btrfs_pin_log_trans to be void function
fs/btrfs/disk-io.c | 5 ++---
fs/btrfs/extent-tree.c | 6 ++----
fs/btrfs/tree-log.c | 5 +----
fs/btrfs/tree-log.h | 2 +-
4 files changed, 6 insertions(+), 12 deletions(-)
--
1.7.12.4