[erlang-patches] [erlang-patch] erts: Remove duplicate erts_unblock_fpe
Jovi Zhang
bookjovi@REDACTED
Fri Dec 2 08:10:42 CET 2011
>From 3b9a1c605b2fe757e9fdbde031df6e3de6d2c981 Mon Sep 17 00:00:00 2001
From: Jovi Zhang <bookjovi@REDACTED>
Date: Fri, 25 Nov 2011 01:13:57 +0800
Subject: [PATCH] erts: Remove duplicate erts_unblock_fpe
The second function erts_unblock_fpe is not needed in here.
---
erts/emulator/beam/io.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index 132dc78..3056a0f 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -644,7 +644,6 @@ erts_open_driver(erts_driver_t* driver, /*
Pointer to driver. */
name, opts);
erts_unblock_fpe(fpe_was_unmasked);
port->caller = NIL;
- erts_unblock_fpe(fpe_was_unmasked);
if (IS_TRACED_FL(port, F_TRACE_SCHED_PORTS)) {
trace_sched_ports_where(port, am_out, am_start);
}
--
1.7.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-erts-Remove-duplicate-erts_unblock_fpe.patch
Type: application/octet-stream
Size: 833 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20111202/0d6d20e3/attachment.obj>
More information about the erlang-patches
mailing list