Skip to content

Commit d216b11

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 114f597 commit d216b11

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
@@ -758,7 +758,7 @@ void scheduler_get_task_info_ll(struct scheduler_props *scheduler_props,
758758
uint32_t flags;
759759

760760
scheduler_props->processing_domain = COMP_PROCESSING_DOMAIN_LL;
761-
struct zephyr_ll *ll_sch = (struct zephyr_ll *)scheduler_get_data(SOF_SCHEDULE_LL_TIMER);
761+
struct zephyr_ll *ll_sch = scheduler_get_data(SOF_SCHEDULE_LL_TIMER);
762762

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

0 commit comments

Comments
 (0)