aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-05-02 11:25:54 +0200
committerLukas Larsson <[email protected]>2019-05-02 12:21:05 +0200
commit217c410c3b749755650dcba5296cda68f7a71391 (patch)
tree1ab877e67b18444d0e269b2dc8bb206519bd55b4 /erts/etc
parent88ca8b89bac431d474552624d7f4a9df0fa3f88e (diff)
downloadotp-217c410c3b749755650dcba5296cda68f7a71391.tar.gz
otp-217c410c3b749755650dcba5296cda68f7a71391.tar.bz2
otp-217c410c3b749755650dcba5296cda68f7a71391.zip
erts: Remove dead cpu info code in erlexec
This was previously used when erlexec needed to decide whether to run the smp or non-smp emulator.
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/common/erlexec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index 34640950fe..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");