Skip to content
Commit bfc8f1a8 authored by YueHaibing's avatar YueHaibing Committed by Vinod Koul
Browse files

dmaengine: idxd: remove set but not used variable 'idxd_cdev'



drivers/dma/idxd/cdev.c: In function idxd_cdev_open:
drivers/dma/idxd/cdev.c:77:20: warning:
 variable idxd_cdev set but not used [-Wunused-but-set-variable]

commit 42d279f9 ("dmaengine: idxd: add char driver to
expose submission portal to userland") involed this.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20200210151855.55044-1-yuehaibing@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent f7b280c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment