]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mpc512x: remove dead code
authorAnatolij Gustschin <agust@denx.de>
Sat, 30 Mar 2013 09:26:36 +0000 (09:26 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 2 May 2013 18:43:38 +0000 (20:43 +0200)
The prt_mpc512x_clks() function isn't referenced
anywhere and its prototype is wrong. Remove it.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/cpu/mpc512x/speed.c
include/common.h

index 9a8f315d8255325e7fd81ea2ce834737a30564f4..676187784b51b574162c0fb2456c03d4bffd8515 100644 (file)
@@ -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);
-}
index 28aa4b9d6033b92229c2cdbf14f35ea71337714d..de75da29cafa3e3415c99ce92b4a09e2ce57e3e9 100644 (file)
@@ -648,9 +648,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