xfs: remove the unusued tmp_logflags variable in xfs_bmapi_allocate
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Apr 2024 06:15:22 +0000 (08:15 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Tue, 30 Apr 2024 04:15:19 +0000 (09:45 +0530)
commitb11ed354c9f725ece2b9440dd6343b42cd5d031c
tree696d4d8231da5b30212224449ab4bc8caf7a5996
parent6773da870ab89123d1b513da63ed59e32a29cb77
xfs: remove the unusued tmp_logflags variable in xfs_bmapi_allocate

tmp_logflags is initialized to 0 and then ORed into bma->logflags, which
isn't actually doing anything.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_bmap.c