From aa9bc58fc6be92126c89fda9b5e9c0b102d0fcca Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 6 Dec 2008 06:11:01 -0500 Subject: [PATCH 1/1] Remove dead code from net.c. --- net/net.c | 6 ------ 1 file changed, 6 deletions(-) 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); -- 2.43.0