diff options
author | K. Y. Srinivasan <[email protected]> | 2011-05-10 07:55:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-05-11 13:49:10 -0700 |
commit | 66a605438146923a048a2ce071831df2a5f64659 (patch) | |
tree | dcf115d959d1b26f790f9f7d33602fc012ad6278 | |
parent | 7581578d688397d927b882a343a2969ef0cac12a (diff) |
Staging: hv: Get rid of the volatile qualifier for a variable in ring_buffer.c
Access to this variable is already serialized via a spin lock. Get
rid of the unnecessary volatile qualifier.
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Abhishek Kane <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/hv/ring_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/ring_buffer.c b/drivers/staging/hv/ring_buffer.c index 2a461ddeeaca..badf52ad2416 100644 --- a/drivers/staging/hv/ring_buffer.c +++ b/drivers/staging/hv/ring_buffer.c @@ -364,7 +364,7 @@ int hv_ringbuffer_write(struct hv_ring_buffer_info *outring_info, u32 totalbytes_towrite = 0; struct scatterlist *sg; - volatile u32 next_write_location; + u32 next_write_location; u64 prev_indices = 0; unsigned long flags; |