Skip to content

Commit

Permalink
Staging: hv: remove volatile usage from HvSynicApi.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Sep 15, 2009
1 parent eacb1b4 commit 0d08737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/hv/include/HvSynicApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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. */
Expand Down

0 comments on commit 0d08737

Please sign in to comment.