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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

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

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;
 }
 
-- 
2.21.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux