From e2df95ba9046f8a0ed749cdd861087e5032374e2 Mon Sep 17 00:00:00 2001 From: logicog Date: Sun, 15 Mar 2026 12:09:32 +0100 Subject: [PATCH] Cleanup DHCP client code --- dhcp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dhcp.c b/dhcp.c index 1a04168..d9176fd 100644 --- a/dhcp.c +++ b/dhcp.c @@ -71,11 +71,6 @@ struct dhcp_pkt { uint8_t cookie[4]; }; -/* -#define DHCP_P ((__xdata struct dhcp_pkt *)&uip_buf[RTL_TAG_SIZE + VLAN_TAG_SIZE]) -#define DHCP_OPT ((__xdata uint8_t *)&uip_buf[RTL_TAG_SIZE + VLAN_TAG_SIZE + sizeof (struct dhcp_pkt)]) -*/ - #define DHCP_P ((__xdata struct dhcp_pkt *)uip_appdata) #define DHCP_OPT ((__xdata uint8_t *)(uip_appdata) + sizeof (struct dhcp_pkt))