summaryrefslogtreecommitdiff
path: root/drivers/staging/ccree
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-09-07 12:00:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-17 17:35:26 +0300
commit707c76a0e9447e96bbe7e5cd2789625b148d7b25 (patch)
treeab06815fdebe416d2baf465907090ca3c70c431b /drivers/staging/ccree
parent093d56156593bba5889756916b9eaf75bb35cca6 (diff)
downloadlinux-707c76a0e9447e96bbe7e5cd2789625b148d7b25.tar.xz
staging: ccree: remove unused completion
icache_setup_completion is no longer used. Remove it. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree')
-rw-r--r--drivers/staging/ccree/ssi_driver.c2
-rw-r--r--drivers/staging/ccree/ssi_driver.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c
index dc22f13bd937..8f1d7af330ce 100644
--- a/drivers/staging/ccree/ssi_driver.c
+++ b/drivers/staging/ccree/ssi_driver.c
@@ -279,8 +279,6 @@ static int init_cc_resources(struct platform_device *plat_dev)
}
SSI_LOG_DEBUG("Registered to IRQ: %d\n", new_drvdata->irq);
- init_completion(&new_drvdata->icache_setup_completion);
-
rc = cc_clk_on(new_drvdata);
if (rc)
goto post_drvdata_err;
diff --git a/drivers/staging/ccree/ssi_driver.h b/drivers/staging/ccree/ssi_driver.h
index 88ef3700b53c..9b6476df9748 100644
--- a/drivers/staging/ccree/ssi_driver.h
+++ b/drivers/staging/ccree/ssi_driver.h
@@ -138,7 +138,6 @@ struct ssi_drvdata {
u32 monitor_null_cycles;
struct platform_device *plat_dev;
ssi_sram_addr_t mlli_sram_addr;
- struct completion icache_setup_completion;
void *buff_mgr_handle;
void *hash_handle;
void *aead_handle;