Skip to content

Commit 5fd738a

Browse files
committed
schedule: ll: remove a redundant type-cast
scheduler_get_data_for_core() returns void pointer, no need to type-cast it to other pointer types. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent bb81a1c commit 5fd738a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/schedule/zephyr_ll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ void scheduler_get_task_info_ll(struct scheduler_props *scheduler_props,
759759
uint32_t flags;
760760

761761
scheduler_props->processing_domain = COMP_PROCESSING_DOMAIN_LL;
762-
struct zephyr_ll *ll_sch = (struct zephyr_ll *)scheduler_get_data(SOF_SCHEDULE_LL_TIMER);
762+
struct zephyr_ll *ll_sch = scheduler_get_data(SOF_SCHEDULE_LL_TIMER);
763763

764764
zephyr_ll_lock(ll_sch, &flags);
765765
scheduler_get_task_info(scheduler_props, data_off_size, &ll_sch->tasks);

0 commit comments

Comments
 (0)