diff --git a/sys/net/gnrc/network_layer/ipv6/nib/nib.c b/sys/net/gnrc/network_layer/ipv6/nib/nib.c
index b2bcf0930b26088810059e251d527dc3b1393c3d..e36a1f5536a07d4a8204c2cb6cc9dbfb3b3f3ae1 100644
--- a/sys/net/gnrc/network_layer/ipv6/nib/nib.c
+++ b/sys/net/gnrc/network_layer/ipv6/nib/nib.c
@@ -540,6 +540,7 @@ static void _handle_nbr_adv(kernel_pid_t iface, const ipv6_hdr_t *ipv6,
     }
 }
 
+#if GNRC_IPV6_NIB_CONF_ARSM
 static inline bool _is_reachable(_nib_onl_entry_t *entry)
 {
     (void)entry; /* _get_nud_state() might just resolved to UNMANAGED as macro */
@@ -551,6 +552,7 @@ static inline bool _is_reachable(_nib_onl_entry_t *entry)
             return true;
     }
 }
+#endif
 
 #if GNRC_IPV6_NIB_CONF_QUEUE_PKT
 static gnrc_pktqueue_t *_alloc_queue_entry(gnrc_pktsnip_t *pkt)