scheduler: SCHEDULER_EXIT_FUNCTION() is not needed
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user