WSL2-Linux-Kernel/drivers/block/aoe
Colin Ian King a6431e351c 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 <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220113000545.1307091-1-colin.i.king@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-01-13 13:00:45 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
aoe.h aoe: replace ->special use with private data in the request 2018-11-10 08:03:49 -07:00
aoeblk.c block: aoe: fixup coccinelle warnings 2021-10-21 08:54:15 -06:00
aoechr.c aoe: remove unnecessary oom message 2021-06-09 09:41:48 -06:00
aoecmd.c aoe: remove redundant assignment on variable n 2022-01-13 13:00:45 -07:00
aoedev.c aoe: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:53:03 -06:00
aoemain.c aoe: add __exit annotation 2018-12-16 09:01:38 -07:00
aoenet.c aoe: update copyright date 2013-07-03 16:08:05 -07:00