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