mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-02 05:31:03 +08:00
Remove unused maxusers
This commit is contained in:
parent
d1ad14fb6c
commit
061e27912c
@ -2697,7 +2697,6 @@
|
|||||||
#define m_append _bsd_m_append
|
#define m_append _bsd_m_append
|
||||||
#define m_apply _bsd_m_apply
|
#define m_apply _bsd_m_apply
|
||||||
#define maxpipekva _bsd_maxpipekva
|
#define maxpipekva _bsd_maxpipekva
|
||||||
#define maxusers _bsd_maxusers
|
|
||||||
#define mb_dupcl _bsd_mb_dupcl
|
#define mb_dupcl _bsd_mb_dupcl
|
||||||
#define mb_free_ext _bsd_mb_free_ext
|
#define mb_free_ext _bsd_mb_free_ext
|
||||||
#define M_BPF _bsd_M_BPF
|
#define M_BPF _bsd_M_BPF
|
||||||
|
@ -93,7 +93,6 @@ sbintime_t sbt_tickthreshold;
|
|||||||
struct bintime tc_tick_bt;
|
struct bintime tc_tick_bt;
|
||||||
sbintime_t tc_tick_sbt;
|
sbintime_t tc_tick_sbt;
|
||||||
int tc_precexp;
|
int tc_precexp;
|
||||||
int maxusers; /* base tunable */
|
|
||||||
|
|
||||||
static SYSCTL_NODE(_kern, OID_AUTO, smp, CTLFLAG_RD|CTLFLAG_CAPRD, NULL,
|
static SYSCTL_NODE(_kern, OID_AUTO, smp, CTLFLAG_RD|CTLFLAG_CAPRD, NULL,
|
||||||
"Kernel SMP");
|
"Kernel SMP");
|
||||||
@ -132,7 +131,6 @@ rtems_bsd_initialize(void)
|
|||||||
bt_tickthreshold = bt_timethreshold;
|
bt_tickthreshold = bt_timethreshold;
|
||||||
sbt_timethreshold = bttosbt(bt_timethreshold);
|
sbt_timethreshold = bttosbt(bt_timethreshold);
|
||||||
sbt_tickthreshold = bttosbt(bt_tickthreshold);
|
sbt_tickthreshold = bttosbt(bt_tickthreshold);
|
||||||
maxusers = 1;
|
|
||||||
maxid_maxcpus = (int) rtems_scheduler_get_processor_maximum();
|
maxid_maxcpus = (int) rtems_scheduler_get_processor_maximum();
|
||||||
|
|
||||||
mkdir("/etc", S_IRWXU | S_IRWXG | S_IRWXO);
|
mkdir("/etc", S_IRWXU | S_IRWXG | S_IRWXO);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user