Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad427b74 authored by Florian Mayer's avatar Florian Mayer
Browse files

Remove useless goto.

Test: build

Change-Id: Ifb8d832de1115eefbf2e09c6d5c8f03244566933
parent cad2fc24
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -34,12 +34,9 @@ static void atrace_init_once()
    if (atrace_marker_fd == -1) {
        ALOGE("Error opening trace file: %s (%d)", strerror(errno), errno);
        atrace_enabled_tags = 0;
        goto done;
    }

    } else {
      atrace_enabled_tags = atrace_get_property();

done:
    }
    atomic_store_explicit(&atrace_is_ready, true, memory_order_release);
}