Skip to content

Commit 7510bf8

Browse files
KunWuChanvinodkoul
authored andcommitted
dmaengine: bestcomm: Code cleanup for bcom_sram_init
This part was commented from commit 2f9ea1b ("[POWERPC] bestcomm: core bestcomm support for Freescale MPC5200") in about 16 years before. If there are no plans to enable this part code in the future, we can remove this dead code. Signed-off-by: Kunwu Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent b32eb97 commit 7510bf8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/dma/bestcomm/sram.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,8 @@ int bcom_sram_init(struct device_node *sram_node, char *owner)
9090
bcom_sram->rh = rh_create(4);
9191

9292
/* Attach the free zones */
93-
#if 0
94-
/* Currently disabled ... for future use only */
95-
reg_addr_p = of_get_property(sram_node, "available", &psize);
96-
#else
9793
regaddr_p = NULL;
9894
psize = 0;
99-
#endif
10095

10196
if (!regaddr_p || !psize) {
10297
/* Attach the whole zone */

0 commit comments

Comments
 (0)