Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 09:07:23 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 747feea146d8 - main - Streamline the infiniband code according to the ethernet code.
Message-ID:  <202012310907.0BV97NCt091038@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky:

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

commit 747feea146d809e01595a11d0a8e8adefc4a975c
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2020-12-31 09:06:42 +0000
Commit:     Hans Petter Selasky <hselasky@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012310907.0BV97NCt091038>