infiniband-diags: remove mad.h from ibstat
PATCH 1/1 infiniband-diags: remove mad.h from ibstat
ibstat does not require libibmad directly.
The change to ibdiag_common was required because of the conflict between the define in ib_types.h and enum in mad.h which presented itself after the fix in ibstat.
Signed-off-by Ira Weiny <[email protected]>
--- include/ibdiag_common.h | 2 +- src/ibstat.c | 1 - 2 files changed, 1 insertions(+), 2 deletions(-)
include/ibdiag_common.h +1 -1
@@ -39,8 +39,8 @@#ifndef _IBDIAG_COMMON_H_#define _IBDIAG_COMMON_H_ -#include <infiniband/iba/ib_types.h> #include <infiniband/mad.h> +#include <infiniband/iba/ib_types.h> #include <infiniband/ibnetdisc.h> extern int ibverbose;
src/ibstat.c +0 -1
@@ -50,7 +50,6 @@#include <errno.h> #include <infiniband/umad.h> -#include <infiniband/mad.h> #include <ibdiag_common.h>
Signature · 6 lines
1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html