From: Joshua Wise Date: Sat, 6 Dec 2008 11:11:01 +0000 (-0500) Subject: Remove dead code from net.c. X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/aa9bc58fc6be92126c89fda9b5e9c0b102d0fcca?hp=-c Remove dead code from net.c. --- aa9bc58fc6be92126c89fda9b5e9c0b102d0fcca diff --git a/net/net.c b/net/net.c index 598ea75..0c83b9b 100644 --- a/net/net.c +++ b/net/net.c @@ -97,12 +97,6 @@ static err_t _transmit(struct netif *netif, struct pbuf *p) { struct nic *nic = netif->state; -/* for(q = p; q != NULL; q = q->next) - { - memcpy(pkt + len, q->payload, q->len); - len += q->len; - }*/ - outputf("NIC: Transmit packet"); nic->transmit(p);