diff options
author | Colin Ian King <[email protected]> | 2022-01-13 00:05:45 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-01-13 13:00:45 -0700 |
commit | a6431e351c6ec5bb6800787d259b343088f369a3 (patch) | |
tree | 0ef65fe0836014b8dc14dd07445a38b18ac54d30 /net/lapb/lapb_timer.c | |
parent | 413ec8057bc3d368574abd05dd27e747063b2f59 (diff) |
aoe: remove redundant assignment on variable n
The variable n is being bit-wise or'd with a value and reassigned
before being returned. The update of n is redundant, replace
the |= operator with | instead. Cleans up clang scan warning:
drivers/block/aoe/aoecmd.c:125:9: warning: Although the value stored
to 'n' is used in the enclosing expression, the value is never
actually read from 'n' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions