diff options
author | Jiapeng Chong <[email protected]> | 2021-05-06 19:00:47 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-05-10 20:04:31 +0530 |
commit | 58cb138e20296dffe3b2be2beb64e5aa22846b84 (patch) | |
tree | 2b5c9d760be84344510b2598eb45f07aaceff0b9 /lib/mpi | |
parent | f0c07993af0acf5545d5c1445798846565f4f147 (diff) |
dmaengine: idxd: Remove redundant variable cdev_ctx
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].
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/1620298847-33127-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions