packetbuf: Removed commented code

This commit is contained in:
kkrentz 2016-02-03 06:41:15 -08:00
parent d478c0f7f1
commit a1b91d8b59
2 changed files with 0 additions and 6 deletions

View file

@ -243,7 +243,6 @@ packetbuf_attr_copyfrom(struct packetbuf_attr *attrs,
int
packetbuf_set_attr(uint8_t type, const packetbuf_attr_t val)
{
/* packetbuf_attrs[type].type = type; */
packetbuf_attrs[type].val = val;
return 1;
}
@ -257,7 +256,6 @@ packetbuf_attr(uint8_t type)
int
packetbuf_set_addr(uint8_t type, const linkaddr_t *addr)
{
/* packetbuf_addrs[type - PACKETBUF_ADDR_FIRST].type = type; */
linkaddr_copy(&packetbuf_addrs[type - PACKETBUF_ADDR_FIRST].addr, addr);
return 1;
}