Skip to content

Commit

Permalink
ibdiags: Remove unneeded HAVE_ checks
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
  • Loading branch information
jgunthorpe committed May 15, 2019
1 parent 306b3b2 commit fcbcc42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ibdiags/src/ibstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fcbcc42

Please sign in to comment.