mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 11:43:36 +00:00
in_rss: fix set but not used warning
If 'options RSS' is set. MFC after: 1 week Sponsored by: Orange Business Services
This commit is contained in:
parent
a6b0c8d04d
commit
017e7d0390
@ -210,7 +210,6 @@ rss_mbuf_software_hash_v4(const struct mbuf *m, int dir, uint32_t *hashval,
|
||||
const struct ip *ip;
|
||||
const struct tcphdr *th;
|
||||
const struct udphdr *uh;
|
||||
uint32_t flowid;
|
||||
uint32_t flowtype;
|
||||
uint8_t proto;
|
||||
int iphlen;
|
||||
@ -261,7 +260,6 @@ rss_mbuf_software_hash_v4(const struct mbuf *m, int dir, uint32_t *hashval,
|
||||
* then we shouldn't just "trust" the 2-tuple hash. We need
|
||||
* a 4-tuple hash.
|
||||
*/
|
||||
flowid = m->m_pkthdr.flowid;
|
||||
flowtype = M_HASHTYPE_GET(m);
|
||||
|
||||
if (flowtype != M_HASHTYPE_NONE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user