[PATCH] Staging: most: Remove volatile usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: PrasannaKumar Muralidharan <prasannatsmkumar@xxxxxxxxx>

Remove unnecessary use of volatile for 'request_counter' and
'service_counter' members.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@xxxxxxxxx>
---
 drivers/staging/most/hdm-dim2/dim2_hal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.h b/drivers/staging/most/hdm-dim2/dim2_hal.h
index 1c924e8..ee10ed9 100644
--- a/drivers/staging/most/hdm-dim2/dim2_hal.h
+++ b/drivers/staging/most/hdm-dim2/dim2_hal.h
@@ -40,10 +40,10 @@ struct dim_ch_state_t {
 
 struct int_ch_state {
 	/* changed only in interrupt context */
-	volatile int request_counter;
+	int request_counter;
 
 	/* changed only in task context */
-	volatile int service_counter;
+	int service_counter;
 
 	u8 idx1;
 	u8 idx2;
-- 
2.5.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux