From d6e347387198c7e8fac4b4f6f52c3d9624ebafcd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 23 Nov 2018 20:37:57 +0100 Subject: score: Remove dead code Update #3621. --- cpukit/score/src/objectallocate.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'cpukit/score/src/objectallocate.c') diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c index 146b5d5976..e09c74c70c 100644 --- a/cpukit/score/src/objectallocate.c +++ b/cpukit/score/src/objectallocate.c @@ -23,12 +23,6 @@ #include #include -/* #define RTEMS_DEBUG_OBJECT_ALLOCATION */ - -#if defined(RTEMS_DEBUG_OBJECT_ALLOCATION) -#include -#endif - static Objects_Control *_Objects_Get_inactive( Objects_Information *information ) @@ -85,16 +79,6 @@ Objects_Control *_Objects_Allocate_unprotected( } } -#if defined(RTEMS_DEBUG_OBJECT_ALLOCATION) - if ( !the_object ) { - printk( - "OBJECT ALLOCATION FAILURE! API/Class %d/%d\n", - information->the_api, - information->the_class - ); - } -#endif - return the_object; } -- cgit v1.2.3