diff options
author | Lukas Larsson <[email protected]> | 2016-04-19 11:24:14 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-04-26 16:02:44 +0200 |
commit | 071f9bba246684d401260a2729b8d72bbbfa1874 (patch) | |
tree | e79633004379c2507e554610889a7bd05734bfe3 /erts/emulator/beam/beam_bp.h | |
parent | 115476cea0db80bb8d53b1a2f08c3b64d62df4ff (diff) | |
download | otp-071f9bba246684d401260a2729b8d72bbbfa1874.tar.gz otp-071f9bba246684d401260a2729b8d72bbbfa1874.tar.bz2 otp-071f9bba246684d401260a2729b8d72bbbfa1874.zip |
erts: Remove some dead code
Diffstat (limited to 'erts/emulator/beam/beam_bp.h')
-rw-r--r-- | erts/emulator/beam/beam_bp.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/erts/emulator/beam/beam_bp.h b/erts/emulator/beam/beam_bp.h index bb171be8a6..08641b86d6 100644 --- a/erts/emulator/beam/beam_bp.h +++ b/erts/emulator/beam/beam_bp.h @@ -173,19 +173,7 @@ void erts_clear_time_trace_bif(BeamInstr *pc); BeamInstr *erts_find_local_func(Eterm mfa[3]); -ERTS_GLB_INLINE Uint erts_bp_sched2ix(void); - #if ERTS_GLB_INLINE_INCL_FUNC_DEF -ERTS_GLB_INLINE Uint erts_bp_sched2ix(void) -{ -#ifdef ERTS_SMP - ErtsSchedulerData *esdp; - esdp = erts_get_scheduler_data(); - return esdp->no - 1; -#else - return 0; -#endif -} extern erts_smp_atomic32_t erts_active_bp_index; extern erts_smp_atomic32_t erts_staging_bp_index; |