summaryrefslogtreecommitdiffstats
path: root/net/sntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sntp.c')
-rw-r--r--net/sntp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sntp.c b/net/sntp.c
index 0a7f4782c..95e75422c 100644
--- a/net/sntp.c
+++ b/net/sntp.c
@@ -12,8 +12,7 @@
#include "sntp.h"
-#if (defined(CONFIG_CMD_NET) \
- && defined(CONFIG_CMD_SNTP)
+#if defined(CONFIG_CMD_NET) && defined(CONFIG_CMD_SNTP)
#define SNTP_TIMEOUT 10