Skip to content

Commit 6a8d8aa

Browse files
committed
Remove attribute((unused) from sched_dequeue_task()
The function will be invoked in subsequent commits, so the __attribute__((unused)) annotation is no longer appropriate. Removing it cleans up the declaration and avoids misleading annotations. No functional change.
1 parent 2957225 commit 6a8d8aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ static void sched_enqueue_task(tcb_t *task)
387387
}
388388

389389
/* Remove task from ready queue; return removed ready queue node */
390-
static __attribute__((unused)) list_node_t *sched_dequeue_task(tcb_t *task)
390+
static list_node_t *sched_dequeue_task(tcb_t *task)
391391
{
392392
if (unlikely(!task))
393393
return NULL;

0 commit comments

Comments
 (0)