diff mbox series

[ibdiags,05/16] ibdiags: Remove IN/OUT notations

Message ID 20190409131133.16140-6-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show
Series More warning fixes for infiniband-diags | expand

Commit Message

Jason Gunthorpe April 9, 2019, 1:11 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

This is not part of the ibdiags coding style.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 src/ibdiag_sa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/src/ibdiag_sa.c b/src/ibdiag_sa.c
index bbb71391431626..a5b99ad8b9a56e 100644
--- a/src/ibdiag_sa.c
+++ b/src/ibdiag_sa.c
@@ -199,7 +199,7 @@  static const char *ib_sa_error_str[] = {
 #define ARR_SIZE(a) (sizeof(a)/sizeof((a)[0]))
 #define SA_ERR_UNKNOWN (ARR_SIZE(ib_sa_error_str) - 1)
 
-static inline const char *ib_sa_err_str(IN uint8_t status)
+static inline const char *ib_sa_err_str(uint8_t status)
 {
 	if (status > SA_ERR_UNKNOWN)
 		status = SA_ERR_UNKNOWN;
@@ -219,7 +219,7 @@  static const char *ib_mad_inv_field_str[] = {
 };
 #define MAD_ERR_UNKNOWN (ARR_SIZE(ib_mad_inv_field_str) - 1)
 
-static inline const char *ib_mad_inv_field_err_str(IN uint8_t f)
+static inline const char *ib_mad_inv_field_err_str(uint8_t f)
 {
 	if (f > MAD_ERR_UNKNOWN)
 		f = MAD_ERR_UNKNOWN;