]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: hv: remove volatile usage from HvSynicApi.h
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Aug 2009 19:12:31 +0000 (12:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:57 +0000 (12:01 -0700)
It's pretty pointless as no one is using this structure, but even so
the use of volatile is so wrong here it's sad...

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/include/HvSynicApi.h

index 7e3db63d2e1de1be6078934a7b0b1f8dd238c151..3e6151d7eb6cdadb88a0b4504aad7a4e9136ed24 100644 (file)
@@ -212,7 +212,7 @@ struct hv_message {
 
 /* Define the synthetic interrupt message page layout. */
 struct hv_message_page {
-       volatile struct hv_message SintMessage[HV_SYNIC_SINT_COUNT];
+       struct hv_message SintMessage[HV_SYNIC_SINT_COUNT];
 };
 
 /* Define the synthetic interrupt controller event flags format. */
@@ -223,7 +223,7 @@ union hv_synic_event_flags {
 
 /* Define the synthetic interrupt flags page layout. */
 struct hv_synic_event_flags_page {
-       volatile union hv_synic_event_flags SintEventFlags[HV_SYNIC_SINT_COUNT];
+       union hv_synic_event_flags SintEventFlags[HV_SYNIC_SINT_COUNT];
 };
 
 /* Define SynIC control register. */