[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YJlEhyv0c17EEaz7@vkoul-mobl.Dlink>
Date: Mon, 10 May 2021 20:04:47 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: dave.jiang@...el.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Remove redundant variable cdev_ctx
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
Powered by blists - more mailing lists