diff options
author | Qian Cai <cai@lca.pw> | 2020-01-06 18:27:27 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-01-07 19:08:58 +0300 |
commit | 55817b340a31951d23d1692db45522560b1d20f9 (patch) | |
tree | 5855fe29818e856523e7558a24292887fcde534f /net/unix/af_unix.c | |
parent | f78947c409204138a4bc0609f98e07ef9d01ac0a (diff) | |
download | linux-55817b340a31951d23d1692db45522560b1d20f9.tar.xz |
iommu/dma: fix variable 'cookie' set but not used
The commit c18647900ec8 ("iommu/dma: Relax locking in
iommu_dma_prepare_msi()") introduced a compliation warning,
drivers/iommu/dma-iommu.c: In function 'iommu_dma_prepare_msi':
drivers/iommu/dma-iommu.c:1206:27: warning: variable 'cookie' set but
not used [-Wunused-but-set-variable]
struct iommu_dma_cookie *cookie;
^~~~~~
Fixes: c18647900ec8 ("iommu/dma: Relax locking in iommu_dma_prepare_msi()")
Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions