mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
staging: rtl8723bs: remove dead code in os_intfs.c
Remove commented-out dead code in netdev_close(). The code was previously commented out and is not needed. Suggested-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Adrish Bora <adrishbora@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/20251215063102.1836-1-adrishbora@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1b92242888
commit
bfb44780ee
|
|
@ -934,14 +934,6 @@ static int netdev_close(struct net_device *pnetdev)
|
|||
padapter->net_closed = true;
|
||||
padapter->netif_up = false;
|
||||
|
||||
/*if (!padapter->hw_init_completed)
|
||||
{
|
||||
|
||||
padapter->bDriverStopped = true;
|
||||
|
||||
rtw_dev_unload(padapter);
|
||||
}
|
||||
else*/
|
||||
if (pwrctl->rf_pwrstate == rf_on) {
|
||||
/* s1. */
|
||||
if (pnetdev) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user