staging: rtl8723bs: fix block comment coding style
PATCH 1/1 staging: rtl8723bs: fix block comment coding style
Fix the block comment style in os_intfs.c to match the kernel coding style. The comment was previously lacking the required asterisks on subsequent lines.
Signed-off-by Adrish Bora <[email protected]>
--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)
drivers/staging/rtl8723bs/os_dep/os_intfs.c +10 -8
@@ -934,14 +934,16 @@ 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 (!padapter->hw_init_completed) +* { +* +* padapter->bDriverStopped = true; +* +* rtw_dev_unload(padapter); +* } +* else +*/ if (pwrctl->rf_pwrstate == rf_on) {/* s1. */ if (pnetdev) {
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 24 lines · Adrish Bora
Fix the block comment style in
os_intfs.cto match the kernel coding style. The comment was previously lacking the required asterisks on subsequent lines.Signed-off-by Adrish Bora <[email protected]>--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-8@@ -934,14 +934,16 @@ 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*/
drivers/staging/rtl8723bs/os_dep/os_intfs.c static int netdev_close(struct net_device *pnetdev) · line 946
Quoted 10 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +10
-0+/* +* if (!padapter->hw_init_completed) +* { +* +* padapter->bDriverStopped = true; +* +* rtw_dev_unload(padapter); +* } +* else +*/
If this code has been commented out for a long time, please just delete it, no need to make it "pretty" with a different style of comment block.
thanks,
greg k-h