scheduler: SCHEDULER_EXIT_FUNCTION() is not needed

This commit is contained in:
Pawel Dziepak
2014-01-03 20:15:13 +01:00
parent 81e04d7b97
commit 9e99bf6085
2 changed files with 0 additions and 6 deletions
@@ -585,8 +585,6 @@ reschedule(int32 nextState)
modeLocker.Unlock();
SCHEDULER_EXIT_FUNCTION();
if (nextThread != oldThread)
switch_thread(oldThread, nextThread);
}
@@ -16,9 +16,6 @@
#define SCHEDULER_ENTER_FUNCTION() \
Scheduler::Profiling::Function schedulerProfiler(__PRETTY_FUNCTION__)
#define SCHEDULER_EXIT_FUNCTION() \
schedulerProfiler.Exit()
namespace Scheduler {
@@ -127,7 +124,6 @@ Function::Exit()
#else // SCHEDULER_PROFILING
#define SCHEDULER_ENTER_FUNCTION() (void)0
#define SCHEDULER_EXIT_FUNCTION() (void)0
#endif // !SCHEDULER_PROFILING