aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_cache.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2009-11-19 11:00:28 -0500
committerWolfgang Denk <wd@denx.de>2009-12-02 23:46:45 +0100
commitbcb324d68f7955c1136dafc944eb55db8ebaa601 (patch)
tree07ee4a5704dd9e124e0f113162956e56f829d991 /common/cmd_cache.c
parentad53226156fa64b6d04c0d1d6e91e09979cbea15 (diff)
Remove superfluous preprocessor tests from some cmd_*.c files.
A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in the Makefile to control the compilation of those files. Those tests are clearly redundant as long as they surround the entirety of the source in those files. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Diffstat (limited to 'common/cmd_cache.c')
-rw-r--r--common/cmd_cache.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 0dfa3363b..120225841 100644
--- a/common/cmd_cache.c
+++ b/common/cmd_cache.c
@@ -27,8 +27,6 @@
#include <common.h>
#include <command.h>
-#if defined(CONFIG_CMD_CACHE)
-
static int on_off (const char *);
int do_icache ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -108,5 +106,3 @@ U_BOOT_CMD(
"[on, off]\n"
" - enable or disable data (writethrough) cache"
);
-
-#endif