Changeset e82879c in mainline


Ignore:
Timestamp:
2024-01-15T17:11:22Z (4 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
4ed7870
Parents:
0f4f1b2
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-15 16:44:12)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-15 17:11:22)
Message:

Remove unnecessary function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    r0f4f1b2 re82879c  
    228228}
    229229
    230 /** Invoked right before thread_ready() readies the thread. thread is locked. */
    231 static void before_thread_is_ready(thread_t *thread)
    232 {
    233         assert(irq_spinlock_locked(&thread->lock));
    234 }
    235 
    236230/** Start a thread that wasn't started yet since it was created.
    237231 *
     
    256250
    257251        assert(thread->state != Ready);
    258 
    259         before_thread_is_ready(thread);
    260252
    261253        int i = (thread->priority < RQ_COUNT - 1) ?
Note: See TracChangeset for help on using the changeset viewer.