[erlang-patches] [erlang-patch] erts: Remove duplicate erts_unblock_fpe

Henrik Nord henrik@REDACTED
Mon Dec 5 17:17:32 CET 2011


This patch is merged to 'master'
Thank you for the contribution!

On 12/02/2011 08:10 AM, Jovi Zhang wrote:
> > 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
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20111205/556e0282/attachment.htm>


More information about the erlang-patches mailing list