Browse Source

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>
Gilad Ben-Yossef 8 years ago
parent
commit
707c76a0e9
2 changed files with 0 additions and 3 deletions
  1. 0 2
      drivers/staging/ccree/ssi_driver.c
  2. 0 1
      drivers/staging/ccree/ssi_driver.h

+ 0 - 2
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;

+ 0 - 1
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;