Skip to content

Commit c75e37c

Browse files
committed
remove conditional block
1 parent ce4018d commit c75e37c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sys/altq/altq_subr.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ __KERNEL_RCSID(0, "$NetBSD: altq_subr.c,v 1.34 2025/01/08 13:00:04 joe Exp $");
3636
#include "npf.h"
3737
#endif
3838

39-
#ifdef ALTQ
40-
4139
#include <sys/param.h>
4240
#include <sys/malloc.h>
4341
#include <sys/mbuf.h>
@@ -402,7 +400,6 @@ tbr_get(struct ifaltq *ifq, struct tb_profile *profile)
402400
return 0;
403401
}
404402

405-
#if NNPF > 0
406403
/*
407404
* attach a discipline to the interface. if one already exists, it is
408405
* overridden.
@@ -630,7 +627,6 @@ altq_getqstats(struct npf_altq *a, void *ubuf, int *nbytes)
630627

631628
return error;
632629
}
633-
#endif /* NNPF > 0 */
634630

635631
/*
636632
* read and write diffserv field in IPv4 or IPv6 header
@@ -1672,4 +1668,3 @@ ip4f_free(struct ip4_frag *fp)
16721668
}
16731669

16741670
#endif /* ALTQ3_CLFIER_COMPAT */
1675-
#endif /* ALTQ */

0 commit comments

Comments
 (0)