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:
parent
2bc7c4ba5f
commit
fd72aaa9ac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user