]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
jfs: remove redundant assignments to ipaimap and ipaimap2
authorColin Ian King <colin.i.king@gmail.com>
Tue, 18 Oct 2022 15:23:10 +0000 (16:23 +0100)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 18 Oct 2022 15:41:59 +0000 (10:41 -0500)
commitdee8744524096514109a9680a9c45a4259dae2a4
treedbee92864d9e2a6e67284b83325102dd99ae1cd4
parent1ea66d71b17608b49ddb907f6155bc47c6e33506
jfs: remove redundant assignments to ipaimap and ipaimap2

The pointers ipaimap and ipaimap2 are re-assigned with values a second
time with the same values when they were initialized. The re-assignments
are redundant and can be removed.

Cleans up two clang scan build warnings:
fs/jfs/jfs_umount.c:42:16: warning: Value stored to 'ipaimap' during
its initialization is never read [deadcode.DeadStores]

fs/jfs/jfs_umount.c:43:16: warning: Value stored to 'ipaimap2' during
its initialization is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/jfs/jfs_umount.c