summaryrefslogtreecommitdiff
path: root/sys/kern/subr_unit.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-30 20:05:05 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-30 20:05:05 +0000
commit3ff65f71cb34a10c4e29b3c17b1ed35c40d7617c (patch)
treed998b56ff9b33b1d81a73337820801db63ef66d2 /sys/kern/subr_unit.c
parent2823710f0531037f228a43825c04d0c320e78e05 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_unit.c')
-rw-r--r--sys/kern/subr_unit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c
index 0ad76dc178ee..bad30c0811c3 100644
--- a/sys/kern/subr_unit.c
+++ b/sys/kern/subr_unit.c
@@ -143,7 +143,6 @@ _Malloc(size_t foo, int line)
struct unrhdr;
-
struct mtx {
int state;
} unitmtx;
@@ -225,7 +224,6 @@ ub_full(struct unrb *ub, int len)
return (first_clear == -1);
}
-
#if defined(DIAGNOSTIC) || !defined(_KERNEL)
/*
* Consistency check function.
@@ -276,7 +274,6 @@ check_unrhdr(struct unrhdr *uh __unused, int line __unused)
#endif
-
/*
* Userland memory management. Just use calloc and keep track of how
* many elements we have allocated for check_unrhdr().
@@ -1045,7 +1042,6 @@ main(int argc, char **argv)
exit(2);
}
-
}
setbuf(stdout, NULL);