diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c index cea439d7cf..c2a209cfdb 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c @@ -163,11 +163,9 @@ uint8_t _handle_aro(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6, (void)nce; #endif /* CONFIG_GNRC_IPV6_NIB_6LR */ } -#if ENABLE_DEBUG else if (aro->len != SIXLOWPAN_ND_OPT_AR_LEN) { DEBUG("nib: ARO of unexpected length %u, ignoring ARO\n", aro->len); } -#endif /* ENABLE_DEBUG */ return _ADDR_REG_STATUS_IGNORE; } diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c index 93add394c3..1ec45edf22 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c @@ -133,11 +133,9 @@ void _handle_sl2ao(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6, } #endif /* CONFIG_GNRC_IPV6_NIB_MULTIHOP_DAD && CONFIG_GNRC_IPV6_NIB_6LR */ } -#if ENABLE_DEBUG else { DEBUG("nib: Neighbor cache full\n"); } -#endif /* ENABLE_DEBUG */ } /* not else to include NCE created in nce == NULL branch */ if ((nce != NULL) && (nce->mode & _NC)) { @@ -322,7 +320,6 @@ void _probe_nbr(_nib_onl_entry_t *nbr, bool reset) nbr->ns_sent++; } } -#if ENABLE_DEBUG else { DEBUG("multicast to %s's solicited nodes (skipping since there is already " "a multicast NS within %ums)\n", @@ -330,7 +327,6 @@ void _probe_nbr(_nib_onl_entry_t *nbr, bool reset) sizeof(addr_str)), (unsigned)netif->ipv6.retrans_time); } -#endif /* ENABLE_DEBUG */ gnrc_netif_release(netif); } break; diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c index f0278366cc..c15d6ef414 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c @@ -111,11 +111,9 @@ _nib_onl_entry_t *_nib_onl_alloc(const ipv6_addr_t *addr, unsigned iface) if (node != NULL) { _override_node(addr, iface, node); } -#if ENABLE_DEBUG else { DEBUG(" NIB full\n"); } -#endif /* ENABLE_DEBUG */ return node; } diff --git a/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c b/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c index 2f3129b76e..f25da7a9d8 100644 --- a/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c +++ b/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c @@ -50,11 +50,9 @@ gnrc_pktsnip_t *gnrc_ndp_nbr_sol_build(const ipv6_addr_t *tgt, nbr_sol->tgt.u64[0].u64 = tgt->u64[0].u64; nbr_sol->tgt.u64[1].u64 = tgt->u64[1].u64; } -#if ENABLE_DEBUG else { DEBUG("ndp: NS not created due to no space in packet buffer\n"); } -#endif return pkt; } @@ -73,11 +71,9 @@ gnrc_pktsnip_t *gnrc_ndp_nbr_adv_build(const ipv6_addr_t *tgt, uint8_t flags, nbr_adv->tgt.u64[0].u64 = tgt->u64[0].u64; nbr_adv->tgt.u64[1].u64 = tgt->u64[1].u64; } -#if ENABLE_DEBUG else { DEBUG("ndp: NA not created due to no space in packet buffer\n"); } -#endif return pkt; } @@ -91,11 +87,9 @@ gnrc_pktsnip_t *gnrc_ndp_rtr_sol_build(gnrc_pktsnip_t *options) ndp_rtr_sol_t *rtr_sol = pkt->data; rtr_sol->resv.u32 = 0; } -#if ENABLE_DEBUG else { DEBUG("ndp: RS not created due to no space in packet buffer\n"); } -#endif return pkt; } @@ -116,11 +110,9 @@ gnrc_pktsnip_t *gnrc_ndp_rtr_adv_build(uint8_t cur_hl, uint8_t flags, rtr_adv->reach_time = byteorder_htonl(reach_time); rtr_adv->retrans_timer = byteorder_htonl(retrans_timer); } -#if ENABLE_DEBUG else { DEBUG("ndp: RA not created due to no space in packet buffer\n"); } -#endif return pkt; } @@ -141,11 +133,9 @@ gnrc_pktsnip_t *gnrc_ndp_opt_build(uint8_t type, size_t size, opt->type = type; opt->len = (uint8_t)(pkt->size / 8); } -#if ENABLE_DEBUG else { DEBUG("ndp: option not created due to no space in packet buffer\n"); } -#endif return pkt; }