aboutsummaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-08-07 17:37:56 -0400
committerTom Rini <trini@konsulko.com>2017-08-07 17:37:56 -0400
commit6e7adf7037c76f081b149685fa5e978e2ddf2a22 (patch)
tree87093f75b7ff78f120fb5bb81706df4ab69ea744 /net/net.c
parentb713bc8a2dbaf40ea24dbccf6da4ed02a0035eb6 (diff)
parentda3b9e7fd6a1e38af3cf0dff0248427c9df583ff (diff)
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net.c b/net/net.c
index 6e678770fa..2268890ab5 100644
--- a/net/net.c
+++ b/net/net.c
@@ -489,7 +489,7 @@ restart:
cdp_start();
break;
#endif
-#if defined(CONFIG_NETCONSOLE) && !(CONFIG_SPL_BUILD)
+#if defined(CONFIG_NETCONSOLE) && !defined(CONFIG_SPL_BUILD)
case NETCONS:
nc_start();
break;
@@ -1258,7 +1258,7 @@ void net_process_received_packet(uchar *in_packet, int len)
}
#endif
-#if defined(CONFIG_NETCONSOLE) && !(CONFIG_SPL_BUILD)
+#if defined(CONFIG_NETCONSOLE) && !defined(CONFIG_SPL_BUILD)
nc_input_packet((uchar *)ip + IP_UDP_HDR_SIZE,
src_ip,
ntohs(ip->udp_dst),