summaryrefslogtreecommitdiff
path: root/net/rarp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-03 11:35:42 -0500
committerBen Warren <biggerbadderben@gmail.com>2009-12-13 21:31:26 -0800
commit6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc (patch)
treef238a4a01f6612b4c7f23a460f196c4a90d41f87 /net/rarp.c
parent4b142febff71eabdb7ddbb125c7b583b24ddc434 (diff)
downloadu-boot-imx-6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc.zip
u-boot-imx-6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc.tar.gz
u-boot-imx-6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc.tar.bz2
net: pull CONFIG checks out of source and into makefile
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/rarp.c')
-rw-r--r--net/rarp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/rarp.c b/net/rarp.c
index d37981b..9444c03 100644
--- a/net/rarp.c
+++ b/net/rarp.c
@@ -29,8 +29,6 @@
#include "rarp.h"
#include "tftp.h"
-#if defined(CONFIG_CMD_NET)
-
#define TIMEOUT 5000UL /* Milliseconds before trying BOOTP again */
#ifndef CONFIG_NET_RETRY_COUNT
# define TIMEOUT_COUNT 5 /* # of timeouts before giving up */
@@ -116,5 +114,3 @@ RarpRequest (void)
NetSetTimeout(TIMEOUT, RarpTimeout);
NetSetHandler(RarpHandler);
}
-
-#endif