staging: ccree: remove unused completion
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 7 Sep 2017 09:00:13 +0000 (12:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
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>
drivers/staging/ccree/ssi_driver.c
drivers/staging/ccree/ssi_driver.h

index dc22f13bd93757d38e86d276de616b071743fc0c..8f1d7af330cef1e907a4bd771affb7ec0ed3967d 100644 (file)
@@ -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;
index 88ef3700b53c7ec9f23b4baede7c33f51bef39bd..9b6476df97487dfcaa197ae636bf13799aae754c 100644 (file)
@@ -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;