Skip to content

Commit

Permalink
net_help: Remove IPV6_CMP_ADDR macro
Browse files Browse the repository at this point in the history
Used nowhere; alternative: ipv6_addr_is_equal(), since other use-cases
(is an IPv6 address smaller than the other) are not applicable anyway.
  • Loading branch information
miri64 committed Nov 17, 2014
1 parent 53eaa4f commit ec7bff3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sys/net/include/net_help.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ static inline uint64_t NTOHLL(uint64_t a)
return byteorder_ntohll(*(network_uint64_t *) &a);
}

#define CMP_IPV6_ADDR(a, b) (memcmp(a, b, 16))

uint16_t csum(uint16_t sum, uint8_t *buf, uint16_t len);

#ifdef __cplusplus
Expand Down

0 comments on commit ec7bff3

Please # to comment.