summaryrefslogtreecommitdiff
path: root/cpukit/score/src/objectgetisr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectgetisr.c')
-rw-r--r--cpukit/score/src/objectgetisr.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpukit/score/src/objectgetisr.c b/cpukit/score/src/objectgetisr.c
index 8a53c7b8b5..aca5f0d059 100644
--- a/cpukit/score/src/objectgetisr.c
+++ b/cpukit/score/src/objectgetisr.c
@@ -61,14 +61,7 @@ Objects_Control *_Objects_Get_isr_disable(
uint32_t index;
ISR_Level level;
-#if defined(RTEMS_MULTIPROCESSING)
index = id - information->minimum_id + 1;
-#else
- /* index = _Objects_Get_index( id ); */
- index = id & 0x0000ffff;
- /* This should work but doesn't always :( */
- /* index = (uint16_t ) id; */
-#endif
_ISR_Disable( level );
if ( information->maximum >= index ) {