Removed unused variable in ip_debug_print()

This commit is contained in:
goldsimon 2012-02-14 21:29:14 +01:00
parent 26e03b81fe
commit fe08467e45

View File

@ -866,9 +866,6 @@ void
ip_debug_print(struct pbuf *p) ip_debug_print(struct pbuf *p)
{ {
struct ip_hdr *iphdr = (struct ip_hdr *)p->payload; struct ip_hdr *iphdr = (struct ip_hdr *)p->payload;
u8_t *payload;
payload = (u8_t *)iphdr + IP_HLEN;
LWIP_DEBUGF(IP_DEBUG, ("IP header:\n")); LWIP_DEBUGF(IP_DEBUG, ("IP header:\n"));
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n")); LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));