Skip to contentSkip to conversation

mpc512x: remove dead code

PATCH New Anatolij Gustschin 2 participants 2 messages Mar 30, 2013 – May 2, 2013 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc512x: remove dead code

The prt_mpc512x_clks() function isn't referenced
anywhere and its prototype is wrong. Remove it.

---
 arch/powerpc/cpu/mpc512x/speed.c |    6 ------
 include/common.h                 |    3 ---
 2 files changed, 0 insertions(+), 9 deletions(-)
arch/powerpc/cpu/mpc512x/speed.c +0 -6
index 9a8f315..6761877 100644
@@ -151,9 +151,3 @@ U_BOOT_CMD(clocks, 1, 0, do_clocks,
 	"print clock configuration",
 	"    clocks"
 );
-
-int prt_mpc512x_clks (void)
-{
-	do_clocks (NULL, 0, 0, NULL);
-	return (0);
-}
include/common.h +0 -3
index 69eeea4..96e3504 100644
@@ -631,9 +631,6 @@ int	prt_8260_clks (void);
 #elif defined(CONFIG_MPC5xxx)
 int	prt_mpc5xxx_clks (void);
 #endif
-#if defined(CONFIG_MPC512X)
-int	prt_mpc512xxx_clks (void);
-#endif
 #if defined(CONFIG_MPC8220)
 int	prt_mpc8220_clks (void);
 #endif
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 mpc512x: remove dead code

Dear Anatolij Gustschin,

Quoted 8 lines · In message <[email protected]> you wrote:

The prt_mpc512x_clks() function isn't referenced
anywhere and its prototype is wrong. Remove it.

---
 arch/powerpc/cpu/mpc512x/speed.c |    6 ------
 include/common.h                 |    3 ---
 2 files changed, 0 insertions(+), 9 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Politician:  An  eel  in  the  fundamental   mud   upon   which   the
superstructure  of  organized  society is reared. When he wriggles he
mistakes the agitation of his tail for the trembling of the  edifice.
As  compared with the statesman, he suffers the disadvantage of being
alive.                                               - Ambrose Bierce