mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
ipfilter: Remove dead code
ea3022cbbd
converted timeout(9) to callout(9). This code remained as an artifact of the conversion. Fixes:ea3022cbbd
MFC after: 1 week
This commit is contained in:
parent
f9f470f72c
commit
fc32b5ddf3
@ -178,9 +178,6 @@ ipf_timer_func(void *arg)
|
|||||||
ipf_slowtimer(softc);
|
ipf_slowtimer(softc);
|
||||||
|
|
||||||
if (softc->ipf_running == -1 || softc->ipf_running == 1) {
|
if (softc->ipf_running == -1 || softc->ipf_running == 1) {
|
||||||
#if 0
|
|
||||||
softc->ipf_slow_ch = timeout(ipf_timer_func, softc, hz/2);
|
|
||||||
#endif
|
|
||||||
callout_init_rw(&softc->ipf_slow_ch, &softc->ipf_global.ipf_lk, CALLOUT_SHAREDLOCK);
|
callout_init_rw(&softc->ipf_slow_ch, &softc->ipf_global.ipf_lk, CALLOUT_SHAREDLOCK);
|
||||||
callout_reset(&softc->ipf_slow_ch,
|
callout_reset(&softc->ipf_slow_ch,
|
||||||
(hz / IPF_HZ_DIVIDE) * IPF_HZ_MULT,
|
(hz / IPF_HZ_DIVIDE) * IPF_HZ_MULT,
|
||||||
|
Loading…
Reference in New Issue
Block a user