summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/bootp.c5
-rw-r--r--net/nfs.c1
2 files changed, 2 insertions, 4 deletions
diff --git a/net/bootp.c b/net/bootp.c
index cfe6f8dd6b..55dcc81db6 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -979,7 +979,6 @@ void DhcpRequest(void)
{
BootpRequest();
}
-#endif
-
-#endif
+#endif /* CONFIG_CMD_DHCP */
+#endif /* CONFIG_CMD_NET */
diff --git a/net/nfs.c b/net/nfs.c
index df2caac48c..1b27c977c1 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -405,7 +405,6 @@ rpc_lookup_reply (int prog, uchar *pkt, unsigned len)
if (rpc_pkt.u.reply.rstatus ||
rpc_pkt.u.reply.verifier ||
- rpc_pkt.u.reply.astatus ||
rpc_pkt.u.reply.astatus) {
return -1;
}