From 76b4365aaacd08e5d6977fe15bf86b7d66733732 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Thu, 5 Jan 2017 21:14:07 +0100 Subject: [PATCH] Remove duplicate netif_dhcp_data() macro Fix compilation of unit tests --- test/unit/dhcp/test_dhcp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/unit/dhcp/test_dhcp.c b/test/unit/dhcp/test_dhcp.c index 3ff42cc4..47aaa084 100644 --- a/test/unit/dhcp/test_dhcp.c +++ b/test/unit/dhcp/test_dhcp.c @@ -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) {