[rtems-libbsd commit] Remove unused maxusers
Sebastian Huber
sebh at rtems.org
Wed May 15 13:45:12 UTC 2019
Module: rtems-libbsd
Branch: 5-freebsd-12
Commit: 061e27912ccf3d5780a5cda702190af917da91b5
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=061e27912ccf3d5780a5cda702190af917da91b5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon May 13 10:55:38 2019 +0200
Remove unused maxusers
---
rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h | 1 -
rtemsbsd/rtems/rtems-kernel-init.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
index 5e539dd..b472edd 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
@@ -2697,7 +2697,6 @@
#define m_append _bsd_m_append
#define m_apply _bsd_m_apply
#define maxpipekva _bsd_maxpipekva
-#define maxusers _bsd_maxusers
#define mb_dupcl _bsd_mb_dupcl
#define mb_free_ext _bsd_mb_free_ext
#define M_BPF _bsd_M_BPF
diff --git a/rtemsbsd/rtems/rtems-kernel-init.c b/rtemsbsd/rtems/rtems-kernel-init.c
index ee34d03..846ca1f 100644
--- a/rtemsbsd/rtems/rtems-kernel-init.c
+++ b/rtemsbsd/rtems/rtems-kernel-init.c
@@ -93,7 +93,6 @@ sbintime_t sbt_tickthreshold;
struct bintime tc_tick_bt;
sbintime_t tc_tick_sbt;
int tc_precexp;
-int maxusers; /* base tunable */
static SYSCTL_NODE(_kern, OID_AUTO, smp, CTLFLAG_RD|CTLFLAG_CAPRD, NULL,
"Kernel SMP");
@@ -132,7 +131,6 @@ rtems_bsd_initialize(void)
bt_tickthreshold = bt_timethreshold;
sbt_timethreshold = bttosbt(bt_timethreshold);
sbt_tickthreshold = bttosbt(bt_tickthreshold);
- maxusers = 1;
maxid_maxcpus = (int) rtems_scheduler_get_processor_maximum();
mkdir("/etc", S_IRWXU | S_IRWXG | S_IRWXO);
More information about the vc
mailing list