Skip to content

Commit c5e7207

Browse files
singalsulgirdwood
authored andcommitted
IPC4: Helper: Avoid warning about unused in ipc4_get_drv()
This change avoids warning/error: sof/src/ipc/ipc4/helper.c:945:31: error: unused variable 'sof_uuid' [-Werror,-Wunused-variable] Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent d6e5002 commit c5e7207

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ipc/ipc4/helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ int ipc4_process_on_core(uint32_t core, bool blocking)
942942

943943
__cold static const struct comp_driver *ipc4_get_drv(const void *uuid)
944944
{
945-
const struct sof_uuid *const sof_uuid = (const struct sof_uuid *)uuid;
945+
const struct sof_uuid *const __maybe_unused sof_uuid = (const struct sof_uuid *)uuid;
946946
struct comp_driver_list *drivers = comp_drivers_get();
947947
struct list_item *clist;
948948
const struct comp_driver *drv = NULL;

0 commit comments

Comments
 (0)