diff options
author | Henrik Nord <[email protected]> | 2011-04-07 16:16:48 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-04-07 16:16:59 +0200 |
commit | 5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a (patch) | |
tree | d0a3d7062cfb7b87e114fdf37eeaac790beb69d4 /erts/emulator/beam/io.c | |
parent | 4144043663ffe31742c1a7c3fe50135c8382db7c (diff) | |
parent | 345454e7dcfd4bc38992870cf5aa5ab7efe0c475 (diff) | |
download | otp-5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a.tar.gz otp-5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a.tar.bz2 otp-5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a.zip |
Merge branch 'ta/erts-unused-vars' into dev
* ta/erts-unused-vars:
erts: Remove unused variables
OTP-9205
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r-- | erts/emulator/beam/io.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index f21a96c754..2e884a350e 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -1226,7 +1226,6 @@ void init_io(void) { int i; ErlDrvEntry** dp; - ErlDrvEntry* drv; char maxports[21]; /* enough for any 64-bit integer */ size_t maxportssize = sizeof(maxports); Uint ports_bits = ERTS_PORTS_BITS; @@ -1309,10 +1308,8 @@ void init_io(void) init_driver(&fd_driver, &fd_driver_entry, NULL); init_driver(&vanilla_driver, &vanilla_driver_entry, NULL); init_driver(&spawn_driver, &spawn_driver_entry, NULL); - for (dp = driver_tab; *dp != NULL; dp++) { - drv = *dp; + for (dp = driver_tab; *dp != NULL; dp++) erts_add_driver_entry(*dp, NULL, 1); - } erts_smp_tsd_set(driver_list_lock_status_key, NULL); erts_smp_mtx_unlock(&erts_driver_list_lock); |