[PATCH v2 0/2] btrfs: perform a minor cleanup in btrfs_search_path_in_tree()
From: Burenchev Evgenii
Date: Wed Feb 25 2026 - 07:46:30 EST
Related discussion: https://lore.kernel.org/linux-btrfs/20260224172835.GB26902@xxxxxxxxxxxxx
This series splits the original patch into two logical changes as suggested
during review.
Patch 1 removes an unused dirid assignment that became dead code after the
introduction of btrfs_search_backwards().
Patch 2 performs a small return value cleanup by initializing ret at
declaration and removing a redundant assignment.
Changes since v1:
- split into two patches as requested
Evgenii Burenchev (2):
btrfs: remove dead assignment to dirid in btrfs_search_path_in_tree()
btrfs: btrfs: initialize ret at declaration and remove redundant assignment
fs/btrfs/ioctl.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--
2.43.0