From 215df01de40bfefc32c86c73e4acbca1bbb74329 Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Fri, 7 Feb 2020 15:17:42 +0000 Subject: net: convert NET_MAXDEFRAG to Kconfig Signed-off-by: Rasmus Villemoes Reviewed-by: Simon Glass --- net/net.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'net/net.c') diff --git a/net/net.c b/net/net.c index d8a60b61191..087d399a24b 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) -- cgit v1.2.3