From 6ce672d7534b3b26c9ee560cca55a9eaea903ca2 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 15 Dec 2016 08:59:32 -0500 Subject: [PATCH] net: remove unused variable pkt1 Change-Id: I987765a6020b7d5b5ff8fd1213dfc4b9a13cdf7f Signed-off-by: Anas Nashif --- tests/net/arp/src/main.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/net/arp/src/main.c b/tests/net/arp/src/main.c index 04636e54ab3..93cc0459b9f 100644 --- a/tests/net/arp/src/main.c +++ b/tests/net/arp/src/main.c @@ -37,25 +37,10 @@ #define NET_DEBUG 1 #include "net_private.h" -/* Sample ARP request (60 bytes) */ -static const unsigned char pkt1[60] = { -0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x98, 0x4f, /* .......O */ -0xee, 0x05, 0x4e, 0x5d, 0x08, 0x06, 0x00, 0x01, /* ..N].... */ -0x08, 0x00, 0x06, 0x04, 0x00, 0x01, 0x98, 0x4f, /* .......O */ -0xee, 0x05, 0x4e, 0x5d, 0xc0, 0xa8, 0x00, 0x02, /* ..N].... */ -0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xa8, /* ........ */ -0x00, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */ -0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */ -0x00, 0x00, 0x00, 0x00 /* .... */ -}; - static bool req_test; static char *app_data = "0123456789"; -static const struct net_eth_addr multicast_eth_addr = { - { 0x01, 0x00, 0x5e, 0x01, 0x02, 0x03 } }; - struct net_arp_context { uint8_t mac_addr[sizeof(struct net_eth_addr)]; struct net_linkaddr ll_addr;