From bd180db2cc73c7dc00076b0517978a8cdd557519 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 12 Sep 2020 12:28:48 -0600 Subject: [PATCH] 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 --- test/log/log_test.c | 2 -- 1 file changed, 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 -- 2.7.4