summaryrefslogtreecommitdiff
path: root/rtc/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/date.c')
-rw-r--r--rtc/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/date.c b/rtc/date.c
index 17d870f90c..d00b144480 100644
--- a/rtc/date.c
+++ b/rtc/date.c
@@ -29,7 +29,7 @@
#include <command.h>
#include <rtc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
+#if defined(CONFIG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
#define FEBRUARY 2
#define STARTOFTIME 1970