summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-12 09:56:47 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-14 10:22:03 +0200
commitfa125ae482085650d5740af355bdcb5532865295 (patch)
tree5ad083c343f0bd06a64f95b58cd62b09f8730586 /drivers
parent2e85ccf13a724fd6e9bdc50ffe105d68fbbb0ef5 (diff)
staging: ks7010: remove unused completion
Driver SDIO code initializes a completion that is never used. It can be safely removed. Remove unused completion. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ks7010/ks7010_sdio.c1
-rw-r--r--drivers/staging/ks7010/ks7010_sdio.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 9afa06b9ae30..c7e01801764f 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -952,7 +952,6 @@ static int ks7010_sdio_probe(struct sdio_func *func,
/* private memory initialize */
priv->ks_wlan_hw.sdio_card = card;
- init_completion(&priv->ks_wlan_hw.ks7010_sdio_wait);
priv->ks_wlan_hw.read_buf = NULL;
priv->ks_wlan_hw.read_buf = kmalloc(RX_DATA_SIZE, GFP_KERNEL);
if (!priv->ks_wlan_hw.read_buf)
diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h
index a1c7551cc692..3c4047fd1f67 100644
--- a/drivers/staging/ks7010/ks7010_sdio.h
+++ b/drivers/staging/ks7010/ks7010_sdio.h
@@ -90,7 +90,6 @@
*/
struct hw_info_t {
struct ks_sdio_card *sdio_card;
- struct completion ks7010_sdio_wait;
struct workqueue_struct *ks7010sdio_wq;
struct delayed_work rw_wq;
unsigned char *read_buf;