Skip to content

Commit b45223e

Browse files
lyakhlgirdwood
authored andcommitted
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 e69fe72 commit b45223e

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
@@ -765,7 +765,7 @@ void scheduler_get_task_info_ll(struct scheduler_props *scheduler_props,
765765
uint32_t flags;
766766

767767
scheduler_props->processing_domain = COMP_PROCESSING_DOMAIN_LL;
768-
struct zephyr_ll *ll_sch = (struct zephyr_ll *)scheduler_get_data(SOF_SCHEDULE_LL_TIMER);
768+
struct zephyr_ll *ll_sch = scheduler_get_data(SOF_SCHEDULE_LL_TIMER);
769769

770770
zephyr_ll_lock(ll_sch, &flags);
771771
scheduler_get_task_info(scheduler_props, data_off_size, &ll_sch->tasks);

0 commit comments

Comments
 (0)