cxgbe(4): Fix build warning for LINT-NOIP.
MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
parent
39d5cbdc1b
commit
94e6b3fee1
@ -2513,6 +2513,7 @@ needs_vlan_insertion(struct mbuf *m)
|
||||
return (m->m_flags & M_VLANTAG);
|
||||
}
|
||||
|
||||
#if defined(INET) || defined(INET6)
|
||||
static void *
|
||||
m_advance(struct mbuf **pm, int *poffset, int len)
|
||||
{
|
||||
@ -2537,6 +2538,7 @@ m_advance(struct mbuf **pm, int *poffset, int len)
|
||||
*pm = m;
|
||||
return ((void *)p);
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline int
|
||||
count_mbuf_ext_pgs(struct mbuf *m, int skip, vm_paddr_t *nextaddr)
|
||||
|
Loading…
Reference in New Issue
Block a user