[v2,01/25] log: fix doc comment for RTE_LOG_DP()

Message ID 20231213041920.729403-2-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series Replace use of RTE_LOGTYPE_PMD |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Dec. 13, 2023, 4:16 a.m. UTC
  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 <stephen@networkplumber.org>
---
 lib/log/rte_log.h | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

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) ?		\