Re: [PATCH] Staging: rtl8723bs: remove some dead code

2019-02-05 Thread Hans de Goede
Hi, On 04-02-19 19:24, Dan Carpenter wrote: "psecnetwork" is the address of &psecuritypriv->sec_bss. Since ->sec_bss isn't the first member of the struct that means that "psecnetwork" can't be NULL. We can just remove this dead code. Signed-off-by: Dan Carpenter Thanks, LGTM: Reviewed-by:

[PATCH] Staging: rtl8723bs: remove some dead code

2019-02-04 Thread Dan Carpenter
"psecnetwork" is the address of &psecuritypriv->sec_bss. Since ->sec_bss isn't the first member of the struct that means that "psecnetwork" can't be NULL. We can just remove this dead code. Signed-off-by: Dan Carpenter --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 8 1 file changed,