summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsayli karnik <karniksayli1995@gmail.com>2016-09-18 07:24:43 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-18 10:36:03 (GMT)
commit7333c6fd438d64b55c7f31909f5274b26eb62c03 (patch)
treec93e935a269292dc7047e6d49d0ef94d09c1cfa4
parent3d4a2cacc43fdae5c2c681455955c88d22561649 (diff)
downloadlinux-7333c6fd438d64b55c7f31909f5274b26eb62c03.tar.xz
staging: ks7010: Remove unnecessary blank lines and commented code
The patch removes unnecessary blank lines as detected by checkpatch.pl. Also, it removes a commented line of unrequired code. Signed-off-by: sayli karnik <karniksayli1995@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ks7010/ks7010_sdio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 54d055c..d35cda8 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -180,8 +180,6 @@ int _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
if (priv->reg.operation_mode == MODE_INFRASTRUCTURE &&
(priv->connect_status & CONNECT_STATUS_MASK) == CONNECT_STATUS) {
-
- //DPRINTK(1,"psstatus.status=%d\n",atomic_read(&priv->psstatus.status));
if (priv->dev_state == DEVICE_STATE_SLEEP) {
switch (atomic_read(&priv->psstatus.status)) {
case PS_SNOOZE: /* 4 */
@@ -244,7 +242,6 @@ int _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
break;
}
}
-
}
return rc;
@@ -343,7 +340,6 @@ static void tx_device_task(void *dev)
&priv->ks_wlan_hw.rw_wq, 1);
return;
}
-
}
kfree(sp->sendp); /* allocated memory free */
if (sp->complete_handler) /* TX Complete */
@@ -597,7 +593,6 @@ static void ks_sdio_interrupt(struct sdio_func *func)
}
complete(&priv->psstatus.wakeup_wait);
}
-
}
do {