summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-02-07 15:17:42 +0000
committerTom Rini <trini@konsulko.com>2020-02-13 10:10:50 -0500
commit215df01de40bfefc32c86c73e4acbca1bbb74329 (patch)
tree10c47808f171c2319a27fb11d18e80d61f91aa97 /net/net.c
parente3dc5924ca07d91cb8dbad507515255bc26c5434 (diff)
net: convert NET_MAXDEFRAG to Kconfig
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/net.c b/net/net.c
index d8a60b6119..087d399a24 100644
--- a/net/net.c
+++ b/net/net.c
@@ -883,9 +883,6 @@ int net_send_ip_packet(uchar *ether, struct in_addr dest, int dport, int sport,
* to the algorithm in RFC815. It returns NULL or the pointer to
* a complete packet, in static storage
*/
-#ifndef CONFIG_NET_MAXDEFRAG
-#define CONFIG_NET_MAXDEFRAG 16384
-#endif
#define IP_PKTSIZE (CONFIG_NET_MAXDEFRAG)
#define IP_MAXUDP (IP_PKTSIZE - IP_HDR_SIZE)