From 3d9b656e8a66bf79380441b3c5a9daddab015034 Mon Sep 17 00:00:00 2001 From: Thomas Eichinger Date: Wed, 19 Aug 2015 22:23:49 +0200 Subject: [PATCH] gnrc/ndp: fix warning about double parentheses --- sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c b/sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c index 99f931fb2f..9758a044a5 100644 --- a/sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c +++ b/sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c @@ -87,7 +87,7 @@ kernel_pid_t gnrc_ndp_node_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_len, } #endif - if ((next_hop_ip == NULL)) { /* no route to host */ + if (next_hop_ip == NULL) { /* no route to host */ if (iface == KERNEL_PID_UNDEF) { /* gnrc_ipv6_netif_t doubles as prefix list */ iface = gnrc_ipv6_netif_find_by_prefix(&prefix, dst);