aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2015-11-17 15:21:56 +0100
committerRickard Green <rickard@erlang.org>2015-12-08 14:47:46 +0100
commitccbb5ba4d0198f3ba21b83ae1aca3fe52a7f2c80 (patch)
tree969e260d5a7abc5acb4ccc7097399ba20c6e3a0a /erts/emulator/beam/erl_process.c
parentac529b0326496e52f3289464f9410001bc3bde6d (diff)
downloadotp-ccbb5ba4d0198f3ba21b83ae1aca3fe52a7f2c80.tar.gz
otp-ccbb5ba4d0198f3ba21b83ae1aca3fe52a7f2c80.tar.bz2
otp-ccbb5ba4d0198f3ba21b83ae1aca3fe52a7f2c80.zip
Remove unused variable
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index ebb4d323e6..ebe9361b8d 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -335,7 +335,6 @@ static ErtsAlignedSchedulerSleepInfo *aligned_dirty_io_sched_sleep_info;
static Uint last_reductions;
static Uint last_exact_reductions;
-Uint erts_default_process_flags;
Eterm erts_system_monitor;
Eterm erts_system_monitor_long_gc;
Uint erts_system_monitor_long_schedule;
@@ -682,7 +681,6 @@ erts_init_process(int ncpu, int proc_tab_size, int legacy_proc_tab)
last_reductions = 0;
last_exact_reductions = 0;
- erts_default_process_flags = 0;
}
void
@@ -10737,7 +10735,7 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
Eterm args, /* Arguments for function (must be well-formed list). */
ErlSpawnOpts* so) /* Options for spawn. */
{
- Uint flags = erts_default_process_flags;
+ Uint flags = 0;
ErtsRunQueue *rq = NULL;
Process *p;
Sint arity; /* Number of arguments. */