Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
diff --git a/net/nfs.c b/net/nfs.c
index 30a897d..df2caac 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -31,8 +31,7 @@
/*#define NFS_DEBUG*/
-#if (defined(CONFIG_CMD_NET) \
- && defined(CONFIG_CMD_NFS)
+#if defined(CONFIG_CMD_NET) && defined(CONFIG_CMD_NFS)
#define HASHES_PER_LINE 65 /* Number of "loading" hashes per line */
#define NFS_TIMEOUT 60
diff --git a/net/sntp.c b/net/sntp.c
index 0a7f478..95e7542 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