diff mbox

[v2,09/15] tidspbridge: Remove unused hw_mmu_map_attrs_t::donotlockmpupage field

Message ID 1348056423-25573-10-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Pinchart Sept. 19, 2012, 12:06 p.m. UTC
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Omar Ramirez Luna <omar.ramirez@ti.com>
---
 drivers/staging/tidspbridge/core/tiomap3430.c |    4 ----
 drivers/staging/tidspbridge/hw/hw_mmu.h       |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)
diff mbox

Patch

diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging/tidspbridge/core/tiomap3430.c
index cc538ea..5cd85dc 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -1508,10 +1508,6 @@  static int bridge_brd_mem_map(struct bridge_dev_context *dev_ctxt,
 			return -EINVAL;
 		}
 	}
-	if (attrs & DSP_MAPDONOTLOCK)
-		hw_attrs.donotlockmpupage = 1;
-	else
-		hw_attrs.donotlockmpupage = 0;
 
 	if (attrs & DSP_MAPVMALLOCADDR) {
 		return mem_map_vmalloc(dev_ctxt, mpu_addr, virt_addr,
diff --git a/drivers/staging/tidspbridge/hw/hw_mmu.h b/drivers/staging/tidspbridge/hw/hw_mmu.h
index 7f960cd..37fc4d4 100644
--- a/drivers/staging/tidspbridge/hw/hw_mmu.h
+++ b/drivers/staging/tidspbridge/hw/hw_mmu.h
@@ -39,7 +39,6 @@  struct hw_mmu_map_attrs_t {
 	enum hw_endianism_t endianism;
 	enum hw_element_size_t element_size;
 	enum hw_mmu_mixed_size_t mixed_size;
-	bool donotlockmpupage;
 };
 
 extern hw_status hw_mmu_enable(const void __iomem *base_address);