1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

rpl: remove return value completely as it is not really used, gives

`unsused` warning otherwise
This commit is contained in:
Cenk Gündoğan 2015-01-08 09:31:30 +01:00
parent d4b57b301d
commit da12f62751

View File

@ -537,8 +537,7 @@ void rpl_remove_srh_header(ipv6_hdr_t *ipv6_header, const void *buf, uint8_t nex
DEBUGF("Source routing header extraction finished.\n");
DEBUGF("Dest is now: %s\n", ipv6_addr_to_str(addr_str, IPV6_MAX_ADDR_STR_LEN, &temp_ipv6_header->destaddr));
srh_m_send.content.ptr = (char *) srh_send_buffer;
int ret = msg_send_receive(&srh_m_send, &srh_m_recv, ip_process_pid);
DEBUGF("Return from relay: %d\n", ret);
msg_send_receive(&srh_m_send, &srh_m_recv, ip_process_pid);
}
int rpl_srh_sendto(const void *buf, uint16_t len, ipv6_addr_t *src, ipv6_addr_t *dest, ipv6_srh_t *srh_header, uint8_t srh_length)