mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
staging: rtl8723bs: remove unnecessary blank lines
Remove unnecessary blank lines to fix checkpatch checks:
- "Blank lines aren't necessary before a close brace '}'"
- "Blank lines aren't necessary after an open brace '{'"
This improves code readability and adheres to the kernel coding style.
Signed-off-by: Ofir Mirovsky <ofirmirovsky@gmail.com>
Link: https://patch.msgid.link/20251227234550.3034-1-ofirmirovsky@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
44b225bf07
commit
2e2d0c710c
|
|
@ -553,7 +553,6 @@ static void rtw_init_default_value(struct adapter *padapter)
|
|||
padapter->fix_rate = 0xFF;
|
||||
padapter->driver_ampdu_spacing = 0xFF;
|
||||
padapter->driver_rx_ampdu_factor = 0xFF;
|
||||
|
||||
}
|
||||
|
||||
struct dvobj_priv *devobj_init(void)
|
||||
|
|
@ -898,7 +897,6 @@ void rtw_ips_pwr_down(struct adapter *padapter)
|
|||
|
||||
void rtw_ips_dev_unload(struct adapter *padapter)
|
||||
{
|
||||
|
||||
if (!padapter->bSurpriseRemoved)
|
||||
rtw_hal_deinit(padapter);
|
||||
}
|
||||
|
|
@ -972,7 +970,6 @@ void rtw_dev_unload(struct adapter *padapter)
|
|||
u8 cnt = 0;
|
||||
|
||||
if (padapter->bup) {
|
||||
|
||||
padapter->bDriverStopped = true;
|
||||
if (padapter->xmitpriv.ack_tx)
|
||||
rtw_ack_tx_done(&padapter->xmitpriv, RTW_SCTX_DONE_DRV_STOP);
|
||||
|
|
@ -1014,7 +1011,6 @@ void rtw_dev_unload(struct adapter *padapter)
|
|||
}
|
||||
|
||||
padapter->bup = false;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user