Re: [Outreachy kernel] [PATCH] Staging: rtl8723bs: sdio_halinit: Remove unnecessary conditions

From: Stefano Brivio
Date: Wed Mar 11 2020 - 13:10:15 EST


On Wed, 11 Mar 2020 19:08:11 +0530
Shreeya Patel <shreeya.patel23498@xxxxxxxxx> wrote:

> Remove if and else conditions since both are leading to the
> initialization of "valueDMATimeout" and "valueDMAPageCount" with
> the same value.
>
> Found using coccinelle script.
>
> Signed-off-by: Shreeya Patel <shreeya.patel23498@xxxxxxxxx>

Reviewed-by: Stefano Brivio <sbrivio@xxxxxxxxxx>

--
Stefano