The macro does not return a numeric status, only void. Fixes: 5d8f0baf69ea ("log: do not drop debug logs at compile time") Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- lib/log/rte_log.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/lib/log/rte_log.h b/lib/log/rte_log.h index 4d207b8da2cd..bbbb051c20e2 100644 --- a/lib/log/rte_log.h +++ b/lib/log/rte_log.h @@ -348,9 +348,6 @@ int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap) * @param ... * The fmt string, as in printf(3), followed by the variable arguments * required by the format. - * @return - * - 0: Success. - * - Negative on error. */ #define RTE_LOG_DP(l, t, ...) \ (void)((RTE_LOG_ ## l <= RTE_LOG_DP_LEVEL) ? \ -- 2.43.0