Re: [PATCH 1/2] ASoC: qcom: lpass-sc7180: Drop unnecessary initialization in _resume()
From: Doug Anderson
Date: Mon Nov 28 2022 - 17:37:53 EST
Hi,
On Mon, Nov 28, 2022 at 2:12 PM Matthias Kaehlcke <mka@xxxxxxxxxxxx> wrote:
>
> The initialization of the variable 'ret' in sc7180_lpass_dev_resume()
> is unnecessary, as it is always assigned a few lines below. Drop the
> initialization.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> ---
>
> sound/soc/qcom/lpass-sc7180.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Not that this needs review, but FWIW:
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>