loop: remove redundant initialization of pointer node
authorColin Ian King <colin.i.king@gmail.com>
Thu, 13 Jan 2022 00:14:32 +0000 (00:14 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Jan 2022 20:00:32 +0000 (13:00 -0700)
commit413ec8057bc3d368574abd05dd27e747063b2f59
tree55114b4f2be2860949a4b1ec463614b93745f424
parent180dccb0dba4f5e84a4a70c1be1d34cbb6528b32
loop: remove redundant initialization of pointer node

The pointer node is being initialized with a value that is never
read, it is being re-assigned the same value a little futher on.
Remove the redundant initialization. Cleans up clang scan warning:

drivers/block/loop.c:823:19: warning: Value stored to 'node' during
its initialization is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220113001432.1331871-1-colin.i.king@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c