aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2022-01-05 19:12:37 +0000
committerDarrick J. Wong <[email protected]>2022-01-06 18:43:30 +0000
commitf4901a182d33d05a3b7020e2af97c635f6c47959 (patch)
tree9830666d098285868a6b4c47e5169fa4609013fb /lib/string_helpers.c
parentxfs: reduce kvmalloc overhead for CIL shadow buffers (diff)
downloadkernel-f4901a182d33d05a3b7020e2af97c635f6c47959.tar.gz
kernel-f4901a182d33d05a3b7020e2af97c635f6c47959.zip
xfs: Remove redundant assignment of mp
mp is being initialized to log->l_mp but this is never read as record is overwritten later on. Remove the redundant assignment. Cleans up the following clang-analyzer warning: fs/xfs/xfs_log_recover.c:3543:20: warning: Value stored to 'mp' during its initialization is never read [clang-analyzer-deadcode.DeadStores]. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions