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


Groups > linux.kernel > #1730431

[PATCH v2] Staging: ccree: Remove unused variable monitor_lock

From Srishti Sharma <srishtishar@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2] Staging: ccree: Remove unused variable monitor_lock
Date 2017-09-11 18:30 +0200
Message-ID <uozKW-5Lj-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Remove the variable monitor_lock as it is not used anywhere.

Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
---
Changes in v2:
 -The variable that was not to be declared as volatile can be
  eliminated as it is not being used anywhere.

 drivers/staging/ccree/ssi_request_mgr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c
index e5c2f92..b94a91f 100644
--- a/drivers/staging/ccree/ssi_request_mgr.c
+++ b/drivers/staging/ccree/ssi_request_mgr.c
@@ -49,7 +49,6 @@ struct ssi_request_mgr_handle {
 	dma_addr_t dummy_comp_buff_dma;
 	struct cc_hw_desc monitor_desc;

-	volatile unsigned long monitor_lock;
 #ifdef COMP_IN_WQ
 	struct workqueue_struct *workq;
 	struct delayed_work compwork;
--
2.7.4

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


Thread

[PATCH v2] Staging: ccree: Remove unused variable monitor_lock Srishti Sharma <srishtishar@gmail.com> - 2017-09-11 18:30 +0200
  Re: [Outreachy kernel] [PATCH v2] Staging: ccree: Remove unused  variable monitor_lock Sean Paul <seanpaul@chromium.org> - 2017-09-11 18:40 +0200
    Re: [Outreachy kernel] [PATCH v2] Staging: ccree: Remove unused  variable monitor_lock Gilad Ben-Yossef <gilad@benyossef.com> - 2017-09-11 20:20 +0200

csiph-web