Pārlūkot izejas kodu

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: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Simon Glass 13 gadi atpakaļ
vecāks
revīzija
79714c1e26
2 mainītis faili ar 0 papildinājumiem un 5 dzēšanām
  1. 0 3
      common/main.c
  2. 0 2
      include/common.h

+ 0 - 3
common/main.c

@@ -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

+ 0 - 2
include/common.h

@@ -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);