Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipc4: remove unused code #9574

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

serhiy-katsyuba-intel
Copy link
Contributor

Removes unused process_dma_index() from src/ipc/ipc4/helper.c.

In addition to being unused, that func also requires all IPC4 platforms to define PLATFORM_MAX_DMA_CHAN. On some platforms that unused func is the only place such define is used. Removing the unused func allows to skip defining of PLATFORM_MAX_DMA_CHAN on platforms where it is not needed.

@lgirdwood
Copy link
Member

@wszypelt @lrudyX good to merge, not expecting a failure here. Thanks !

Removes unused process_dma_index() from src/ipc/ipc4/helper.c.

In addition to being unused, that func also requires all IPC4 platforms
to define PLATFORM_MAX_DMA_CHAN. On some platforms that unused func is
the only place such define is used. Removing the unused func allows
to skip defining of PLATFORM_MAX_DMA_CHAN on platforms where it is
not needed.

Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
@serhiy-katsyuba-intel
Copy link
Contributor Author

The error reported by Internal Intel CI looks like some infrastructure problem:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'CoreAudioAPI ...

Re-trigered CI to check again.

@wszypelt
Copy link

@lgirdwood good to merge :)

@lgirdwood lgirdwood merged commit 58d058e into thesofproject:main Oct 16, 2024
45 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants