log: Drop #ifdef in log_test

This is not needed as the Makefile only builds the file if CONFIG_LOG_TEST
is enabled. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-09-12 12:28:48 -06:00
committed by Tom Rini
parent b45203004e
commit bd180db2cc

View File

@@ -201,7 +201,6 @@ static int log_test(int testnum)
return 0; return 0;
} }
#ifdef CONFIG_LOG_TEST
int do_log_test(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) int do_log_test(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{ {
int testnum = 0; int testnum = 0;
@@ -216,4 +215,3 @@ int do_log_test(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
return ret ? CMD_RET_FAILURE : 0; return ret ? CMD_RET_FAILURE : 0;
} }
#endif