From: Jason Gunthorpe <jgg@xxxxxxxxxxxx> This is not part of the ibdiags coding style. Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> --- src/ibdiag_sa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.21.0