]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: unisys: remove volatile from struct log_info_t
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:09:16 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:06 +0000 (10:29 +0800)
There's no need for last_cycles to be declared volatile. Take that out.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h

index d6e8983be4c61d7fe9e2d67d0623f39c3e79f84d..cf9423e46c4888b0afc06cd2c81e6013b522ba5a 100644 (file)
@@ -279,7 +279,7 @@ static inline s64 issue_vmcall_measurement_do_nothing(void)
 }
 
 struct log_info_t {
-       volatile unsigned long long last_cycles;
+       unsigned long long last_cycles;
        unsigned long long delta_sum[64];
        unsigned long long delta_cnt[64];
        unsigned long long max_delta[64];