aboutsummaryrefslogtreecommitdiff
path: root/test/log
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-12 12:28:48 -0600
committerTom Rini <trini@konsulko.com>2020-10-10 16:50:11 -0400
commitbd180db2cc73c7dc00076b0517978a8cdd557519 (patch)
tree252a8e838b50ce2ed725588636b60a1520cc5129 /test/log
parentb45203004ec3f3e5a259e68eddb3eb572d37f56d (diff)
downloadu-boot-bd180db2cc73c7dc00076b0517978a8cdd557519.zip
u-boot-bd180db2cc73c7dc00076b0517978a8cdd557519.tar.gz
u-boot-bd180db2cc73c7dc00076b0517978a8cdd557519.tar.bz2
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>
Diffstat (limited to 'test/log')
-rw-r--r--test/log/log_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/log/log_test.c b/test/log/log_test.c
index 4245372..fdee5e6 100644
--- a/test/log/log_test.c
+++ b/test/log/log_test.c
@@ -201,7 +201,6 @@ static int log_test(int testnum)
return 0;
}
-#ifdef CONFIG_LOG_TEST
int do_log_test(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
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;
}
-#endif