mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue