sata: ahsata: Fix resource leak
[oweals/u-boot.git] / cmd / bedbug.c
index 14663dc95cc1ebe05e3c2c379200897faff394df..d3e31212eab0acaa9537b085e8fb108ada788d2a 100644 (file)
@@ -44,24 +44,10 @@ int bedbug_puts (const char *str)
  * settings.
  * ====================================================================== */
 
-void bedbug_init (void)
+int bedbug_init(void)
 {
        /* -------------------------------------------------- */
-
-#if defined(CONFIG_4xx)
-       void bedbug405_init (void);
-
-       bedbug405_init ();
-#endif
-
-#if defined(CONFIG_MPC824X) || defined(CONFIG_MPC8260)
-       /* Processors that are 603e core based */
-       void bedbug603e_init (void);
-
-       bedbug603e_init ();
-#endif
-
-       return;
+       return 0;
 }                              /* bedbug_init */