1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator

This commit is contained in:
Johann Fischer 2015-05-04 11:59:31 +02:00 committed by Johann F
parent 2bc7c4ba5f
commit fd72aaa9ac

View File

@ -660,7 +660,7 @@ ipv6_net_if_hit_t *ipv6_net_if_addr_prefix_eq(ipv6_net_if_hit_t *hit,
while (net_if_iter_addresses(if_id, (net_if_addr_t **) &addr_entry)
!= NULL) {
if (addr_entry->addr_protocol & NET_IF_L3P_IPV6) {
if (memcmp(addr_entry->addr_data, &addr, 8) == 0) {
if (memcmp(addr_entry->addr_data, addr, 8) == 0) {
hit->if_id = if_id;
hit->addr = addr_entry;
return hit;