[dpdk-dev] bus: remove comments about rte_bus_dump() return value.

Message ID 1499550916-12623-1-git-send-email-rami.rosen@intel.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/Intel-compilation fail Compilation issues
ci/checkpatch success coding style OK

Commit Message

Rami Rosen July 8, 2017, 9:55 p.m. UTC
  This trivial patch removes wrong comments about 
the return value of the rte_bus_dump(), as 
this method does not return any value 
(it's return type is void)

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 lib/librte_eal/common/include/rte_bus.h | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Thomas Monjalon July 9, 2017, 8:09 p.m. UTC | #1
08/07/2017 23:55, Rami Rosen:
> This trivial patch removes wrong comments about 
> the return value of the rte_bus_dump(), as 
> this method does not return any value 
> (it's return type is void)

Fixes: a97725791eec ("bus: introduce bus abstraction")

> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Applied, thanks
  

Patch

diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte_eal/common/include/rte_bus.h
index aebf57efdd46..c223bc21962c 100644
--- a/lib/librte_eal/common/include/rte_bus.h
+++ b/lib/librte_eal/common/include/rte_bus.h
@@ -214,9 +214,6 @@  int rte_bus_probe(void);
  * @param f
  *	 A valid and open output stream handle
  *
- * @return
- *	 0 in case of success
- *	!0 in case there is error in opening the output stream
  */
 void rte_bus_dump(FILE *f);