From: gnawali Date: Mon, 28 Sep 2009 06:49:03 +0000 (+0000) Subject: eliminate dead code found by Qiu Ying X-Git-Tag: rc_6_tinyos_2_1_1~219 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=2f20c8b96cf979fbbe694617a57b2f2b82bd1e5a eliminate dead code found by Qiu Ying --- diff --git a/tos/lib/net/ctp/CtpForwardingEngine.h b/tos/lib/net/ctp/CtpForwardingEngine.h index e45d0231..ccb92dbf 100644 --- a/tos/lib/net/ctp/CtpForwardingEngine.h +++ b/tos/lib/net/ctp/CtpForwardingEngine.h @@ -90,19 +90,6 @@ enum { MAX_RETRIES = 30 }; -/* - * The network header that the ForwardingEngine introduces. - * This header will change for the TinyOS 2.0 full release - * (it needs several optimizations). - */ -typedef nx_struct { - nx_uint8_t control; - nx_am_addr_t origin; - nx_uint8_t seqno; - nx_uint8_t collectid; - nx_uint16_t gradient; -} network_header_t; - /* * An element in the ForwardingEngine send queue. * The client field keeps track of which send client