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
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