From 8415c4eebca44ced4ffaf229b8f21b5d4775ebdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Wed, 9 Aug 2017 12:24:28 +0200 Subject: [PATCH] gnrc_icmpv6: Clean up redundant conditional debug statement --- sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c b/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c index 5d97b9c281..720e336890 100644 --- a/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c +++ b/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c @@ -50,13 +50,8 @@ gnrc_pktsnip_t *gnrc_icmpv6_echo_build(uint8_t type, uint16_t id, uint16_t seq, DEBUG(", payload:\n"); od_hex_dump(data, data_len, OD_WIDTH_DEFAULT); #endif - DEBUG("\n"); } -#if ENABLE_DEBUG - else { - DEBUG("\n"); - } -#endif + DEBUG("\n"); return pkt; }