mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
ipfilter: ipfilter: Remove more dead code
This also is an artifact of the timeout(9) to callout(9) conversion done inea3022cbbd. Fixes:ea3022cbbdMFC after: 1 week
This commit is contained in:
parent
650900cc2f
commit
6e608d2990
1 changed files with 0 additions and 9 deletions
|
|
@ -211,10 +211,6 @@ ipfattach(ipf_main_softc_t *softc)
|
|||
V_ipforwarding = 1;
|
||||
|
||||
SPL_X(s);
|
||||
#if 0
|
||||
softc->ipf_slow_ch = timeout(ipf_timer_func, softc,
|
||||
(hz / IPF_HZ_DIVIDE) * IPF_HZ_MULT);
|
||||
#endif
|
||||
callout_init_rw(&softc->ipf_slow_ch, &softc->ipf_global.ipf_lk, CALLOUT_SHAREDLOCK);
|
||||
callout_reset(&softc->ipf_slow_ch, (hz / IPF_HZ_DIVIDE) * IPF_HZ_MULT,
|
||||
ipf_timer_func, softc);
|
||||
|
|
@ -238,11 +234,6 @@ ipfdetach(ipf_main_softc_t *softc)
|
|||
|
||||
SPL_NET(s);
|
||||
|
||||
#if 0
|
||||
if (softc->ipf_slow_ch.callout != NULL)
|
||||
untimeout(ipf_timer_func, softc, softc->ipf_slow_ch);
|
||||
bzero(&softc->ipf_slow, sizeof(softc->ipf_slow));
|
||||
#endif
|
||||
callout_drain(&softc->ipf_slow_ch);
|
||||
|
||||
ipf_fini_all(softc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue