]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05fe878ea0e9b8d2ea5136809cc5530721e50c3f
tree33ce2813ad5ba482525607b715596cfc61e41457
parentdc5e9d861840bd78f2d72ac06b678892cfa695b0
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