diff mbox series

[rdma-core,03/20] ibdiags: Remove unneeded HAVE_ checks

Message ID 20190514234936.5175-4-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show
Series Incorporate infiniband-diags into rdma-core | expand

Commit Message

Jason Gunthorpe May 14, 2019, 11:49 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

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

Patch

diff --git a/ibdiags/src/ibstat.c b/ibdiags/src/ibstat.c
index 0e79f21c544c52..61c6611a05043e 100644
--- a/ibdiags/src/ibstat.c
+++ b/ibdiags/src/ibstat.c
@@ -193,9 +193,7 @@  static int port_dump(umad_port_t * port, int alone)
 	printf("%sSM lid: %d\n", pre, port->sm_lid);
 	printf("%sCapability mask: 0x%08x\n", pre, ntohl(port->capmask));
 	printf("%sPort GUID: 0x%016" PRIx64 "\n", pre, be64toh(port->port_guid));
-#ifdef HAVE_UMAD_PORT_LINK_LAYER
 	printf("%sLink layer: %s\n", pre, port->link_layer);
-#endif
 	return 0;
 }