Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1711889

[PATCH v3 07/22] staging: ccree: remove unused completion

From Gilad Ben-Yossef <gilad@benyossef.com>
Newsgroups linux.kernel
Subject [PATCH v3 07/22] staging: ccree: remove unused completion
Date 2017-08-15 08:40 +0200
Message-ID <ueDGa-6fY-19@gated-at.bofh.it> (permalink)
References <ueDwt-6d6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


icache_setup_completion is no longer used. Remove it.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---
 drivers/staging/ccree/ssi_driver.c | 2 --
 drivers/staging/ccree/ssi_driver.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c
index 1b95f90..928c988 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 88ef370..9b6476d 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;
-- 
2.1.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 00/22] staging: ccree: fixes and simplifications Gilad Ben-Yossef <gilad@benyossef.com> - 2017-08-15 08:30 +0200
  [PATCH v3 09/22] staging: ccree: Fix format/argument mismatches Gilad Ben-Yossef <gilad@benyossef.com> - 2017-08-15 08:30 +0200
  [PATCH v3 08/22] staging: ccree: remove m32r as supported platform Gilad Ben-Yossef <gilad@benyossef.com> - 2017-08-15 08:30 +0200
  [PATCH v3 22/22] staging: ccree: remove BUG macro usage Gilad Ben-Yossef <gilad@benyossef.com> - 2017-08-15 08:30 +0200
  [PATCH v3 10/22] staging: ccree: rewrite GET_DMA_BUFFER_TYPE as func Gilad Ben-Yossef <gilad@benyossef.com> - 2017-08-15 08:40 +0200
  [PATCH v3 07/22] staging: ccree: remove unused completion Gilad Ben-Yossef <gilad@benyossef.com> - 2017-08-15 08:40 +0200
  Re: [PATCH v3 00/22] staging: ccree: fixes and simplifications Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-17 00:20 +0200

csiph-web