Thread (3 messages) 3 messages, 3 authors, 2021-05-10

Re: [PATCH] dmaengine: idxd: Remove redundant variable cdev_ctx

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-05-10 14:36:59
Also in: lkml

On 06-05-21, 19:00, Jiapeng Chong wrote:
Variable cdev_ctx is set to '&ictx[wq->idxd->data->type]' but this
value is not used, hence it is a redundant assignment and can be
removed.

Clean up the following clang-analyzer warning:

drivers/dma/idxd/cdev.c:300:2: warning: Value stored to 'cdev_ctx' is
never read [clang-analyzer-deadcode.DeadStores].
Applied, thanks

-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help