[PATCH v4 14/21] dma: Eliminate unused variable in dma_get_cfg()
Simon Glass
sjg at chromium.org
Thu Sep 29 12:00:40 CEST 2022
On Sun, 25 Sept 2022 at 02:28, Michal Suchanek <msuchanek at suse.de> wrote:
>
> The ret value is never used. It is only set when no device is returned,
> and that is handled before the value of ret would be used.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
> drivers/dma/dma-uclass.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list