projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b452030
)
log: Drop #ifdef in log_test
author
Simon Glass
<sjg@chromium.org>
Sat, 12 Sep 2020 18:28:48 +0000
(12:28 -0600)
committer
Tom Rini
<trini@konsulko.com>
Sat, 10 Oct 2020 20:50:11 +0000
(16:50 -0400)
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>
test/log/log_test.c
patch
|
blob
|
history
diff --git
a/test/log/log_test.c
b/test/log/log_test.c
index
4245372
..
fdee5e6
100644
(file)
--- 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