[rtems-libbsd commit] Remove unused maxusers
Sebastian Huber
sebh at rtems.org
Mon May 13 09:20:16 UTC 2019
Module: rtems-libbsd
Branch: master
Commit: 1a5db378e23063b84e5104372a65a2c3225b0be8
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=1a5db378e23063b84e5104372a65a2c3225b0be8
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 58e98c8..d1b0d71 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h
@@ -2694,7 +2694,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