aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2012-10-24 11:30:42 +0200
committerRickard Green <[email protected]>2012-12-03 21:18:07 +0100
commitef302baca81ceaedbfb128fae60a42e53910f061 (patch)
treead57640b96b07d2eb6d7561420d0a7fb696b25f6 /erts/emulator/beam/io.c
parent50cb7c24f061fd3d7df5970d8202f47c470a4047 (diff)
downloadotp-ef302baca81ceaedbfb128fae60a42e53910f061.tar.gz
otp-ef302baca81ceaedbfb128fae60a42e53910f061.tar.bz2
otp-ef302baca81ceaedbfb128fae60a42e53910f061.zip
Remove R9 compatibility features
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index 4dcec356a9..21fc76b8db 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -1244,7 +1244,6 @@ void init_io(void)
ErlDrvEntry** dp;
char maxports[21]; /* enough for any 64-bit integer */
size_t maxportssize = sizeof(maxports);
- Uint ports_bits = ERTS_PORTS_BITS;
int port_tab_size;
#ifdef ERTS_SMP
@@ -1263,12 +1262,6 @@ void init_io(void)
if (port_tab_size < 1024)
port_tab_size = 1024;
- if (erts_use_r9_pids_ports) {
- ports_bits = ERTS_R9_PORTS_BITS;
- if (port_tab_size > ERTS_MAX_R9_PORTS)
- port_tab_size = ERTS_MAX_R9_PORTS;
- }
-
erts_smp_mtx_init(&erts_driver_list_lock,"driver_list");
driver_list = NULL;
erts_smp_tsd_key_create(&driver_list_lock_status_key);