summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans_ail.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2023-06-28 10:59:37 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-06-29 09:28:23 -0700
commit347eb95b27eb97bebdc3ea7de23558216f4e2c90 (patch)
treede517a9560956a0d4817e02b0b6b51d9c16bac83 /fs/xfs/xfs_trans_ail.c
parentc3b880acadc95d6e019eae5d669e072afda24f1b (diff)
xfs: remove redundant initializations of pointers drop_leaf and save_leaf
Pointers drop_leaf and save_leaf are initialized with values that are never read, they are being re-assigned later on just before they are used. Remove the redundant early initializations and keep the later assignments at the point where they are used. Cleans up two clang scan build warnings: fs/xfs/libxfs/xfs_attr_leaf.c:2288:29: warning: Value stored to 'drop_leaf' during its initialization is never read [deadcode.DeadStores] fs/xfs/libxfs/xfs_attr_leaf.c:2289:29: warning: Value stored to 'save_leaf' during its initialization is never read [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
0 files changed, 0 insertions, 0 deletions