summaryrefslogtreecommitdiffstats
path: root/drivers/dma/bestcomm/sram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/bestcomm/sram.c')
-rw-r--r--drivers/dma/bestcomm/sram.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dma/bestcomm/sram.c b/drivers/dma/bestcomm/sram.c
index 0553956f74..ad74d57cc3 100644
--- a/drivers/dma/bestcomm/sram.c
+++ b/drivers/dma/bestcomm/sram.c
@@ -90,13 +90,8 @@ int bcom_sram_init(struct device_node *sram_node, char *owner)
bcom_sram->rh = rh_create(4);
/* Attach the free zones */
-#if 0
- /* Currently disabled ... for future use only */
- reg_addr_p = of_get_property(sram_node, "available", &psize);
-#else
regaddr_p = NULL;
psize = 0;
-#endif
if (!regaddr_p || !psize) {
/* Attach the whole zone */