Fix build with nodevice netmap

Authored by shurd on Oct 31 2017, 2:39 AM.



iru_init() was declared and used outside the DEV_NETMAP
conditional blocks, but was implemented inside one. Move the
implementation out of the DEV_NETMAP block to allow building with
netmap disabled.

Test Plan

Build with netmap disabled.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
shurd created this revision.Oct 31 2017, 2:39 AM
sbruno accepted this revision.Oct 31 2017, 2:47 AM
This revision is now accepted and ready to land.Oct 31 2017, 2:47 AM
Closed by commit rS325201: Fix build with nodevice netmap (authored by shurd, committed by ). · Explain WhyOct 31 2017, 2:49 AM
This revision was automatically updated to reflect the committed changes.