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 committed by Dirk Ziegelmeier
parent a5a4830b16
commit 76b4365aaa

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)
{