Remove duplicate netif_dhcp_data() macro

Fix compilation of unit tests
This commit is contained in:
Erik Ekman 2017-01-05 21:14:07 +01:00
parent 02eec304c3
commit 6c9a9b9d99

View File

@ -127,8 +127,6 @@ static enum tcase {
static int debug = 0;
static void setdebug(int a) {debug = a;}
#define netif_dhcp_data(netif) ((struct dhcp*)(netif)->client_data[LWIP_NETIF_CLIENT_DATA_INDEX_DHCP])
static int tick = 0;
static void tick_lwip(void)
{