From: richardbarry Date: Tue, 22 Nov 2011 13:27:17 +0000 (+0000) Subject: Remove debug code from the TriCore port.c file. X-Git-Tag: V7.1.0~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c404000011698de573b9d1d1ef545381cb0cd14;p=freertos Remove debug code from the TriCore port.c file. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1639 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/GCC/TriCore_1782/port.c b/Source/portable/GCC/TriCore_1782/port.c index 4c24da312..53846d5c6 100644 --- a/Source/portable/GCC/TriCore_1782/port.c +++ b/Source/portable/GCC/TriCore_1782/port.c @@ -315,8 +315,6 @@ unsigned long *pxUpperCSA = NULL; unsigned long xUpperCSA = 0UL; extern volatile unsigned long *pxCurrentTCB; -COUNT_NEST(); - /* Just to avoid compiler warnings about unused parameters. */ ( void ) iArg; @@ -381,7 +379,6 @@ COUNT_NEST(); CPU_SRC0.bits.SETR = 0; _isync(); } -ulNest--; #endif } /*-----------------------------------------------------------*/ @@ -517,7 +514,7 @@ static void prvInterruptYield( int iId ) unsigned long *pxUpperCSA = NULL; unsigned long xUpperCSA = 0UL; extern volatile unsigned long *pxCurrentTCB; -COUNT_NEST(); + /* Just to remove compiler warnings. */ ( void ) iId; @@ -549,7 +546,6 @@ COUNT_NEST(); pxUpperCSA[ 0 ] = *pxCurrentTCB; CPU_SRC0.bits.SETR = 0; _isync(); -ulNest--; } /*-----------------------------------------------------------*/