common/mlx5: remove NDEBUG
[dpdk.git] / drivers / common / mlx5 / mlx5_nl.c
index beb94e4..6eb91be 100644 (file)
@@ -417,7 +417,7 @@ mlx5_nl_mac_addr_cb(struct nlmsghdr *nh, void *arg)
                                rte_errno = ENOMEM;
                                return -rte_errno;
                        }
-#ifndef NDEBUG
+#ifdef RTE_LIBRTE_MLX5_DEBUG
                        char m[18];
 
                        rte_ether_format_addr(m, 18, RTA_DATA(attribute));