Commit 862f3c49 authored by Eder Zulian's avatar Eder Zulian Committed by Vinod Koul
Browse files

dmaengine: ptdma: Remove dead code from pt_dmaengine_register()



devm_kasprintf() is used to allocate and format a string and the
returned pointer is assigned to 'cmd_cache_name'. However, the variable
'cmd_cache_name' is not effectively used.

Remove the dead code.

Signed-off-by: default avatarEder Zulian <ezulian@redhat.com>
Reviewed-by: default avatarNathan Lynch <nathan.lynch@amd.com>
Acked-by: default avatarBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Link: https://lore.kernel.org/r/20250411165451.240830-1-ezulian@redhat.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent f087965a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment