Re: [PATCH] staging: rtl8723bs: clean up identical code on an if statement

2017-04-14 Thread Hans de Goede
Hi, On 13-04-17 17:46, Colin King wrote: From: Colin Ian King The two different paths for an if statement are identical and hence we can just replace it with the single statement. Detected by CoverityScan, CID#1428443 ("Identical code for different branches") Signed-off-by: Colin Ian King

[PATCH] staging: rtl8723bs: clean up identical code on an if statement

2017-04-13 Thread Colin King
From: Colin Ian King The two different paths for an if statement are identical and hence we can just replace it with the single statement. Detected by CoverityScan, CID#1428443 ("Identical code for different branches") Signed-off-by: Colin Ian King --- drivers/staging/rtl8723bs/core/rtw_mlme.