Fix a write-only variable warning from external GCC.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D22032
This commit is contained in:
John Baldwin 2019-10-15 17:17:16 +00:00
parent 017128c99b
commit 6ed6d6931a

View File

@ -34,13 +34,12 @@
int main(void)
{
unsigned int pktrdy;
int num_cachelines = 1518 / 64 ; /* pktsize / L3 cacheline size */
/* Spray packets to using distribution vector */
while (1) {
pktrdy = nlm_read_ucore_rxpktrdy();
(void)nlm_read_ucore_rxpktrdy();
nlm_ucore_setup_poepktdistr(FWD_DIST_VEC, 0, 0, 0, 0);
nlm_ucore_pkt_done(num_cachelines, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0);