summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/multipath.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-03-18 04:30:14 +0300
committerChristoph Hellwig <hch@lst.de>2022-03-29 10:29:06 +0300
commit63bc732c3aefaa0ad61e290fded9de0f5c8ccd0e (patch)
tree8d51130f9042ef68be15aee7aef10cceee7816d2 /drivers/nvme/host/multipath.c
parent8832cf922151e9dfa2821736beb0ae2dd3968b6e (diff)
downloadlinux-63bc732c3aefaa0ad61e290fded9de0f5c8ccd0e.tar.xz
nvmet: remove redundant assignment after left shift
The left shift is followed by a re-assignment back to cc_css, the assignment is redundant. Fix this by replacing the "<<=" operator with "<<" instead. This cleans up the clang scan build warning: drivers/nvme/target/core.c:1124:10: warning: Although the value stored to 'cc_css' is used in the enclosing expression, the value is never actually read from 'cc_css' [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/multipath.c')
0 files changed, 0 insertions, 0 deletions