Re: [PATCH] staging: rtl8723bs: core: fix condition with no effect

2020-01-27 Thread Dan Carpenter
On Sat, Jan 25, 2020 at 07:04:38PM +0530, Saurav Girepunje wrote: > fix warning reorted by coccicheck > WARNING: possible condition with no effect (if == else) > > Signed-off-by: Saurav Girepunje This one looks good. The difference between this one and the last one, is that this stuff looks lik

[PATCH] staging: rtl8723bs: core: fix condition with no effect

2020-01-25 Thread Saurav Girepunje
fix warning reorted by coccicheck WARNING: possible condition with no effect (if == else) Signed-off-by: Saurav Girepunje --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c