Streamline the infiniband code according to the ethernet code.
Fix LINT-NOIP kernel build. Submitted by: rlibby @ Differential Revision: https://reviews.freebsd.org/D27861 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
This commit is contained in:
parent
282381aa53
commit
747feea146
@ -294,9 +294,7 @@ infiniband_output(struct ifnet *ifp, struct mbuf *m,
|
||||
{
|
||||
uint8_t linkhdr[INFINIBAND_HDR_LEN];
|
||||
uint8_t *phdr;
|
||||
#if defined(INET) || defined(INET6)
|
||||
struct llentry *lle = NULL;
|
||||
#endif
|
||||
struct infiniband_header *ih;
|
||||
int error = 0;
|
||||
int hlen; /* link layer header length */
|
||||
|
Loading…
x
Reference in New Issue
Block a user