HomeFreeBSD

iflib: Cast the result of iflib_netmap_txq_init() to void.

Description

iflib: Cast the result of iflib_netmap_txq_init() to void.

This fixes a warning from GCC for kernels without netmap since the
return value is never used.

Reviewed by: vmaffione, erj
Differential Revision: https://reviews.freebsd.org/D28598

Details

Provenance
jhbAuthored on Feb 19 2021, 8:52 PM
Reviewer
vmaffione
Differential Revision
D28598: iflib: Cast the result of iflib_netmap_txq_init() to void.
Parents
rG05d882b780f5: Microoptimize CTL I/O queues.
Branches
Unknown
Tags
Unknown