Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730024

[PATCH 10/10] staging: rtl8723bs: Remove unnecessary blank lines

From Harsha Sharma <harshasharmaiitr@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 10/10] staging: rtl8723bs: Remove unnecessary blank lines
Date 2017-09-10 19:50 +0200
Message-ID <uoewN-7d2-1@gated-at.bofh.it> (permalink)
References <uocbE-5CS-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Blank lines aren't necessary after an open brace and before a close brace

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index fb8502a..5cca7a9 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -454,7 +454,6 @@ u16 rtw_recv_select_queue(struct sk_buff *skb)
 	}
 
 	return rtw_1d_to_queue[priority];
-
 }
 
 static int rtw_ndev_notifier_call(struct notifier_block * nb, unsigned long state, void *ptr)
@@ -1024,7 +1023,6 @@ int _netdev_open(struct net_device *pnetdev)
 	DBG_871X("-871x_drv - drv_open fail, bup =%d\n", padapter->bup);
 
 	return (-1);
-
 }
 
 int netdev_open(struct net_device *pnetdev)
@@ -1091,7 +1089,6 @@ int rtw_ips_pwr_up(struct adapter *padapter)
 
 	DBG_871X("<===  rtw_ips_pwr_up..............\n");
 	return result;
-
 }
 
 void rtw_ips_pwr_down(struct adapter *padapter)
@@ -1113,7 +1110,6 @@ void rtw_ips_dev_unload(struct adapter *padapter)
 
 	if (padapter->bSurpriseRemoved == false)
 		rtw_hal_deinit(padapter);
-
 }
 
 
@@ -1186,7 +1182,6 @@ static int netdev_close(struct net_device *pnetdev)
 	DBG_871X("-871x_drv - drv_close, bup =%d\n", padapter->bup);
 
 	return 0;
-
 }
 
 void rtw_ndev_destructor(struct net_device *ndev)
@@ -1390,7 +1385,6 @@ int rtw_suspend_wow(struct adapter *padapter)
 			DBG_871X_LEVEL(_drv_always_, "%s: pno: %d\n", __func__, pwrpriv->wowlan_pno_enable);
 		else
 			rtw_set_ps_mode(padapter, PS_MODE_DTIM, 0, 0, "WOWLAN");
-
 	}
 	else {
 		DBG_871X_LEVEL(_drv_always_, "%s: ### ERROR ### wowlan_mode =%d\n", __func__, pwrpriv->wowlan_mode);
@@ -1470,7 +1464,6 @@ static int rtw_suspend_normal(struct adapter *padapter)
 	if ((rtw_hal_check_ips_status(padapter) == true)
 		|| (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off)) {
 		DBG_871X_LEVEL(_drv_always_, "%s: ### ERROR #### driver in IPS ####ERROR###!!!\n", __func__);
-
 	}
 
 	rtw_dev_unload(padapter);
@@ -1644,7 +1637,6 @@ int rtw_resume_process_wow(struct adapter *padapter)
 		}
 	}
 	else {
-
 		DBG_871X_LEVEL(_drv_always_, "%s: ### ERROR ### wowlan_mode =%d\n", __func__, pwrpriv->wowlan_mode);
 	}
 
@@ -1657,7 +1649,6 @@ int rtw_resume_process_wow(struct adapter *padapter)
 		if (pwrpriv->wowlan_wake_reason == FWDecisionDisconnect ||
 			pwrpriv->wowlan_wake_reason == Rx_DisAssoc ||
 			pwrpriv->wowlan_wake_reason == Rx_DeAuth) {
-
 			DBG_871X("%s: disconnect reason: %02x\n", __func__,
 						pwrpriv->wowlan_wake_reason);
 			rtw_indicate_disconnect(padapter);
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/10] staging: rtl8723bs: Follow linux-kernel coding style Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 17:20 +0200
  [PATCH 03/10] staging: rtl8723bs: Add spaces around '?', '==', '||', '!=' Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:30 +0200
    Re: [Outreachy kernel] [PATCH 03/10] staging: rtl8723bs: Add spaces  around '?', '==', '||', '!=' Julia Lawall <julia.lawall@lip6.fr> - 2017-09-10 22:10 +0200
  [PATCH 04/10] staging: rtl8723bs: Remove unnecessary spaces at the start of line Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:30 +0200
    Re: [Outreachy kernel] [PATCH 04/10] staging: rtl8723bs: Remove  unnecessary spaces at the start of line Julia Lawall <julia.lawall@lip6.fr> - 2017-09-10 22:40 +0200
  [PATCH 05/10] staging: rtl8723bs: Add space between concatenated strings Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:40 +0200
    Re: [Outreachy kernel] [PATCH 05/10] staging: rtl8723bs: Add space  between concatenated strings Julia Lawall <julia.lawall@lip6.fr> - 2017-09-11 13:20 +0200
  [PATCH 06/10] staging: rtl8723bs: Add space after ',' Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:40 +0200
    Re: [Outreachy kernel] [PATCH 06/10] staging: rtl8723bs: Add space  after ',' Julia Lawall <julia.lawall@lip6.fr> - 2017-09-11 13:20 +0200
    Re: [Outreachy kernel] [PATCH 06/10] staging: rtl8723bs: Add space  after ',' Greg KH <gregkh@linuxfoundation.org> - 2017-09-11 18:50 +0200
  [PATCH 08/10] staging: rtl8723bs: Remove unnecessary space Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:40 +0200
  [PATCH 07/10] staging: rtl8723bs: Removed unneccesary space Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:40 +0200
    Re: [PATCH 07/10] staging: rtl8723bs: Removed unneccesary space Greg KH <gregkh@linuxfoundation.org> - 2017-09-11 18:50 +0200
  [PATCH 10/10] staging: rtl8723bs: Remove unnecessary blank lines Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:50 +0200
  [PATCH 09/10] staging: rtl8723bs: Remove unneccesary braces and change position of open brace Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-10 19:50 +0200
    [PATCH] spelling.txt: Add "unnecessary" typo variants Joe Perches <joe@perches.com> - 2017-09-10 22:20 +0200
  [PATCH v2 07/10] staging: rtl8723bs: Remove unneccesary space Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-12 12:20 +0200
    Re: [Outreachy kernel] [PATCH v2 07/10] staging: rtl8723bs: Remove  unneccesary space Julia Lawall <julia.lawall@lip6.fr> - 2017-09-12 12:30 +0200
  [PATCH v3 07/10] staging: rtl8723bs: Remove unnecessary space Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-12 12:40 +0200
  [PATCH v2 06/10] staging: rtl8723bs: Add space after ',' Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-09-12 15:40 +0200
    Re: [PATCH v2 06/10] staging: rtl8723bs: Add space after ',' Greg KH <gregkh@linuxfoundation.org> - 2017-09-12 22:50 +0200

csiph-web