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


Groups > linux.kernel > #1582654

[PATCH 2/2] Staging: ks7010: ks*: Remove redundant blank lines

From Shiva Kerdel <shiva@exdev.nl>
Newsgroups linux.kernel
Subject [PATCH 2/2] Staging: ks7010: ks*: Remove redundant blank lines
Date 2017-02-16 16:40 +0100
Message-ID <tbwk2-8cv-7@gated-at.bofh.it> (permalink)
References <tbwk1-8cv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Multiple blank lines shouldn't be used.

Signed-off-by: Shiva Kerdel <shiva@exdev.nl>
---
 drivers/staging/ks7010/ks7010_sdio.c | 1 -
 drivers/staging/ks7010/ks_wlan_net.c | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index a604c83c957e..6f9f746a3a61 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -884,7 +884,6 @@ static void ks7010_card_init(struct ks_wlan_private *priv)
 	if (priv->mac_address_valid && priv->version_size)
 		priv->dev_state = DEVICE_STATE_PREINIT;
 
-
 	hostif_sme_enqueue(priv, SME_GET_EEPROM_CKSUM);
 
 	/* load initial wireless parameter */
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index c7503a9306cd..e7cbe001235b 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -285,7 +285,6 @@ static int ks_wlan_set_essid(struct net_device *dev,
 	if (priv->sleep_mode == SLP_SLEEP)
 		return -EPERM;
 
-
 	/* for SLEEP MODE */
 	/* Check if we asked for `any' */
 	if (dwrq->flags == 0) {
@@ -342,7 +341,6 @@ static int ks_wlan_get_essid(struct net_device *dev,
 	if (priv->sleep_mode == SLP_SLEEP)
 		return -EPERM;
 
-
 	/* for SLEEP MODE */
 	/* Note : if dwrq->flags != 0, we should
 	 * get the relevant SSID from the SSID list... */
-- 
2.11.1

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


Thread

[PATCH 1/2] Staging: ks7010: ks*: Add missing blank lines after declarations Shiva Kerdel <shiva@exdev.nl> - 2017-02-16 16:40 +0100
  [PATCH 2/2] Staging: ks7010: ks*: Remove redundant blank lines Shiva Kerdel <shiva@exdev.nl> - 2017-02-16 16:40 +0100

csiph-web