sched: Remove unneeded function type cast in do_balance_callbacks()

It's a trivial and non-functional change, the removed explicit function
type cast does not convert the function type of struct balance_callback
member (*func), and the cast can be removed.

Signed-off-by: Vladimir Zapolskiy <vz@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260819080159.105433-1-vz@kernel.org
This commit is contained in:
Vladimir Zapolskiy 2026-08-19 11:01:58 +03:00 committed by Peter Zijlstra
parent f549101187
commit 879eaa76e6

View File

@ -5143,7 +5143,7 @@ static void do_balance_callbacks(struct rq *rq, struct balance_callback *head)
lockdep_assert_rq_held(rq);
while (head) {
func = (void (*)(struct rq *))head->func;
func = head->func;
next = head->next;
head->next = NULL;
head = next;