aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-05-03 09:57:09 +0200
committerLukas Larsson <[email protected]>2019-05-03 09:57:09 +0200
commitaeba9f1a2950c8864f0ce6cafac190c150035486 (patch)
tree1c21d533ced705666ad9eea1db6b9aaf4a61d40d /erts/etc
parentc60572857cba4cc9abc4bce783ce5de4dba4275b (diff)
parent7e62fb44558c59f91ce6c2a86aad23253fd12142 (diff)
downloadotp-aeba9f1a2950c8864f0ce6cafac190c150035486.tar.gz
otp-aeba9f1a2950c8864f0ce6cafac190c150035486.tar.bz2
otp-aeba9f1a2950c8864f0ce6cafac190c150035486.zip
Merge branch 'lukas/OTP-22/misc-fixes/OTP-15791'
* lukas/OTP-22/misc-fixes/OTP-15791: erts: Fix so that non-oneshot pollset on OpenBSD works erts: Remove dead cpu info code in erlexec erts: Remove -instr from erlexec flags
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/common/erlexec.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index ec4a4ead23..8203c46a39 100644
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
@@ -408,7 +408,6 @@ int main(int argc, char **argv)
int process_args = 1;
int print_args_exit = 0;
int print_qouted_cmd_exit = 0;
- erts_cpu_info_t *cpuinfo = NULL;
char* emu_name;
#ifdef __WIN32__
@@ -467,8 +466,6 @@ int main(int argc, char **argv)
/*
* Construct the path of the executable.
*/
- cpuinfo = erts_cpu_info_create();
-
#if defined(__WIN32__) && defined(WIN32_ALWAYS_DEBUG)
emu_type = "debug";
#endif
@@ -526,9 +523,6 @@ int main(int argc, char **argv)
i++;
}
- erts_cpu_info_destroy(cpuinfo);
- cpuinfo = NULL;
-
if (malloc_lib) {
if (strcmp(malloc_lib, "libc") != 0)
usage("+MYm");
@@ -662,15 +656,6 @@ int main(int argc, char **argv)
}
break;
- case 'i':
- if (strcmp(argv[i], "-instr") == 0) {
- add_Eargs("-Mim");
- add_Eargs("true");
- }
- else
- add_arg(argv[i]);
- break;
-
case 'e':
if (strcmp(argv[i], "-extra") == 0) {
process_args = 0;