diff options
author | Colin Ian King <[email protected]> | 2022-03-18 01:30:14 +0000 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-03-29 09:29:06 +0200 |
commit | 63bc732c3aefaa0ad61e290fded9de0f5c8ccd0e (patch) | |
tree | 8d51130f9042ef68be15aee7aef10cceee7816d2 /net/lapb/lapb_subr.c | |
parent | 8832cf922151e9dfa2821736beb0ae2dd3968b6e (diff) |
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 <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions