]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Remove CMD_PXE's static on run_command()
authorSimon Glass <sjg@chromium.org>
Tue, 14 Feb 2012 19:59:18 +0000 (19:59 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 6 Mar 2012 20:09:14 +0000 (21:09 +0100)
It really isn't clear why this is here and there is no comment, so
drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
common/main.c
include/common.h

index 91e888fd3ce0a3ef54c1996d153538e76e78707c..defe2d499d898f57b474a61284b649ff8524f1e9 100644 (file)
@@ -270,9 +270,6 @@ int abortboot(int bootdelay)
 /*
  * Return 0 on success, or != 0 on error.
  */
-#ifndef CONFIG_CMD_PXE
-static inline
-#endif
 int run_command2(const char *cmd, int flag)
 {
 #ifndef CONFIG_SYS_HUSH_PARSER
index a2c6b27d43cce33d1a00a033e4b33c895c4e1d8d..8f5331eb7afd761e0230153e498c68d7c73ef22f 100644 (file)
@@ -261,9 +261,7 @@ int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen);
 /* common/main.c */
 void   main_loop       (void);
 int    run_command     (const char *cmd, int flag);
-#ifdef CONFIG_CMD_PXE
 int run_command2(const char *cmd, int flag);
-#endif
 int    readline        (const char *const prompt);
 int    readline_into_buffer(const char *const prompt, char *buffer,
                        int timeout);