summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mockup.c
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2020-01-06 10:27:27 -0500
committerJoerg Roedel <jroedel@suse.de>2020-01-07 17:08:58 +0100
commit55817b340a31951d23d1692db45522560b1d20f9 (patch)
tree5855fe29818e856523e7558a24292887fcde534f /drivers/gpio/gpio-mockup.c
parentf78947c409204138a4bc0609f98e07ef9d01ac0a (diff)
downloadlinux-55817b340a31951d23d1692db45522560b1d20f9.tar.bz2
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 'drivers/gpio/gpio-mockup.c')
0 files changed, 0 insertions, 0 deletions