Skip to content
Snippets Groups Projects
Commit 79714c1e authored by Simon Glass's avatar Simon Glass Committed by Wolfgang Denk
Browse files

Remove CMD_PXE's static on run_command()


It really isn't clear why this is here and there is no comment, so
drop it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent b199c6e2
No related branches found
No related tags found
No related merge requests found
...@@ -270,9 +270,6 @@ int abortboot(int bootdelay) ...@@ -270,9 +270,6 @@ int abortboot(int bootdelay)
/* /*
* Return 0 on success, or != 0 on error. * Return 0 on success, or != 0 on error.
*/ */
#ifndef CONFIG_CMD_PXE
static inline
#endif
int run_command2(const char *cmd, int flag) int run_command2(const char *cmd, int flag)
{ {
#ifndef CONFIG_SYS_HUSH_PARSER #ifndef CONFIG_SYS_HUSH_PARSER
......
...@@ -261,9 +261,7 @@ int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen); ...@@ -261,9 +261,7 @@ int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen);
/* common/main.c */ /* common/main.c */
void main_loop (void); void main_loop (void);
int run_command (const char *cmd, int flag); int run_command (const char *cmd, int flag);
#ifdef CONFIG_CMD_PXE
int run_command2(const char *cmd, int flag); int run_command2(const char *cmd, int flag);
#endif
int readline (const char *const prompt); int readline (const char *const prompt);
int readline_into_buffer(const char *const prompt, char *buffer, int readline_into_buffer(const char *const prompt, char *buffer,
int timeout); int timeout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment