Skip to content
Commit 413ec805 authored by Colin Ian King's avatar Colin Ian King Committed by Jens Axboe
Browse files

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: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220113001432.1331871-1-colin.i.king@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 180dccb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment