git: 747feea146d8 - main - Streamline the infiniband code according to the ethernet code.

Hans Petter Selasky hselasky at FreeBSD.org
Thu Dec 31 09:07:24 UTC 2020


The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=747feea146d809e01595a11d0a8e8adefc4a975c

commit 747feea146d809e01595a11d0a8e8adefc4a975c
Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2020-12-31 09:06:42 +0000
Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2020-12-31 09:07:02 +0000

    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
---
 sys/net/if_infiniband.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/net/if_infiniband.c b/sys/net/if_infiniband.c
index bf33457b0a4f..3e7daeed4da3 100644
--- a/sys/net/if_infiniband.c
+++ b/sys/net/if_infiniband.c
@@ -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 */


More information about the dev-commits-src-all mailing list