mirror of
https://github.com/torvalds/linux.git
synced 2026-10-25 01:05:03 +02:00
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:
parent
f549101187
commit
879eaa76e6
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user