Staging: rtl8723bs: sdio_halinit: Remove unnecessary conditions
authorShreeya Patel <shreeya.patel23498@gmail.com>
Fri, 13 Mar 2020 10:49:20 +0000 (16:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 11:39:40 +0000 (12:39 +0100)
commit9a27592d160d631226dfd7479ad72d2b3c0c45fd
tree33ce2813ad5ba482525607b715596cfc61e41457
parentaf68516eb921dc7a9686402b3299c5d53869df1d
Staging: rtl8723bs: sdio_halinit: Remove unnecessary conditions

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@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200313104920.19974-1-shreeya.patel23498@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_halinit.c