summaryrefslogtreecommitdiff
path: root/drivers/iommu/omap-iommu.h
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2014-10-23 02:22:19 +0400
committerJoerg Roedel <jroedel@suse.de>2014-10-23 16:32:25 +0400
commit2088ecba93f68252464b95375d80a12fe723ba5e (patch)
tree7bda9073a94f94caadcb72c92169fc5c1599e0dc /drivers/iommu/omap-iommu.h
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-2088ecba93f68252464b95375d80a12fe723ba5e.tar.xz
iommu/omap: Remove refcount field from omap_iommu object
The refcount field in omap_iommu object is primarily used to check if an IOMMU device has already been enabled, but this is already implicit in the omap_iommu_attach_dev() which ensures that only a single device can attach to an IOMMU. This field is redundant, and so has been cleaned up. Signed-off-by: Suman Anna <s-anna@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.h')
-rw-r--r--drivers/iommu/omap-iommu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.h b/drivers/iommu/omap-iommu.h
index 4f1b68c08c15..5c1400024e35 100644
--- a/drivers/iommu/omap-iommu.h
+++ b/drivers/iommu/omap-iommu.h
@@ -33,7 +33,6 @@ struct omap_iommu {
void *isr_priv;
struct iommu_domain *domain;
- unsigned int refcount;
spinlock_t iommu_lock; /* global for this whole object */
/*