Messages in this thread | | | From | Jens Axboe <> | Subject | Re: [PATCH] loop: remove redundant initialization of pointer node | Date | Thu, 13 Jan 2022 13:00:36 -0700 |
| |
On Thu, 13 Jan 2022 00:14:32 +0000, Colin Ian King wrote: > 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] > > [...]
Applied, thanks!
[1/1] loop: remove redundant initialization of pointer node commit: 413ec8057bc3d368574abd05dd27e747063b2f59
Best regards, -- Jens Axboe
| |