diff options
author | Cy Schubert <cy@FreeBSD.org> | 2024-11-12 15:58:03 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2024-11-12 16:00:46 +0000 |
commit | fc32b5ddf3af503b41e81df8f1dc4f6a0aace25b (patch) | |
tree | 1cb7b5dc1d67b9a6f2a87cd03b946ce2aa07b33e | |
parent | f9f470f72c8718c3503874791d593997c3d751b4 (diff) | |
download | src-fc32b5ddf3af.tar.gz src-fc32b5ddf3af.zip |
ipfilter: Remove dead code
ea3022cbbd3f5 converted timeout(9) to callout(9). This code remained as
an artifact of the conversion.
Fixes: ea3022cbbd3f5
MFC after: 1 week
-rw-r--r-- | sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c index b3dea40c3d8c..23514907f86e 100644 --- a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c +++ b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c @@ -178,9 +178,6 @@ ipf_timer_func(void *arg) ipf_slowtimer(softc); 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_reset(&softc->ipf_slow_ch, (hz / IPF_HZ_DIVIDE) * IPF_HZ_MULT, |