[U-Boot] [PATCH] cmd_license: Remove unneeded #ifdef CONFIG_CMD_LICENSE

Peter Tyser ptyser at xes-inc.com
Wed Nov 11 17:36:19 CET 2009


cmd_license is already conditionally compiled at the Makefile-level.

Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
 common/cmd_license.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/common/cmd_license.c b/common/cmd_license.c
index 141215b..c6f272a 100644
--- a/common/cmd_license.c
+++ b/common/cmd_license.c
@@ -23,8 +23,6 @@
 
 #include <common.h>
 
-#if defined(CONFIG_CMD_LICENSE)
-
 /* COPYING is currently 15951 bytes in size */
 #define LICENSE_MAX	20480
 
@@ -56,5 +54,3 @@ U_BOOT_CMD(license, 1, 1, do_license,
 	"print GPL license text",
 	""
 );
-
-#endif /* CONFIG_CMD_LICENSE */
-- 
1.6.2.1



More information about the U-Boot mailing list