summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-05-14 14:46:20 +0200
committerJoerg Roedel <jroedel@suse.de>2020-05-14 17:48:58 +0200
commitab785cfa5907b3fa141438baed898849b6b43b4e (patch)
tree70d290606b754eaed3157fc993e3aa286b6f5584 /drivers/nvdimm
parentiommu: Add Allwinner H6 IOMMU driver (diff)
downloadlinux-ab785cfa5907b3fa141438baed898849b6b43b4e.tar.xz
linux-ab785cfa5907b3fa141438baed898849b6b43b4e.zip
iommu/sun50i: Fix compile warnings
A few compile warnings show up when building this driver: CC drivers/iommu/sun50i-iommu.o drivers/iommu/sun50i-iommu.c: In function ‘sun50i_dte_get_page_table’: drivers/iommu/sun50i-iommu.c:486:16: warning: unused variable ‘flags’ [-Wunused-variable] 486 | unsigned long flags; | ^~~~~ drivers/iommu/sun50i-iommu.c: In function ‘sun50i_iommu_unmap’: drivers/iommu/sun50i-iommu.c:559:23: warning: unused variable ‘iommu’ [-Wunused-variable] 559 | struct sun50i_iommu *iommu = sun50i_domain->iommu; | ^~~~~ drivers/iommu/sun50i-iommu.c: In function ‘sun50i_iommu_probe_device’: drivers/iommu/sun50i-iommu.c:749:22: warning: unused variable ‘group’ [-Wunused-variable] 749 | struct iommu_group *group; | ^~~~~ Remove the unused variables. Signed-off-by: Joerg Roedel <jroedel@suse.de> Cc: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20200514124621.25999-1-joro@8bytes.org
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions