summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Hv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-08-18 02:20:55 +0200
committerGreg Kroah-Hartman2009-09-15 21:01:55 +0200
commit98d9fac4f0dec8545ed94abe729a15865cff6686 (patch)
treeed6f8874d8055cc7ae5cd7bdc82a9b9f9cdf886b /drivers/staging/hv/Hv.c
parentStaging: hv: remove ReadMsr and WriteMsr functions from Hv.h (diff)
downloadkernel-qcow2-linux-98d9fac4f0dec8545ed94abe729a15865cff6686.tar.gz
kernel-qcow2-linux-98d9fac4f0dec8545ed94abe729a15865cff6686.tar.xz
kernel-qcow2-linux-98d9fac4f0dec8545ed94abe729a15865cff6686.zip
Staging: hv: cleanup coding style issues in Hv.h
Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Hv.c')
-rw-r--r--drivers/staging/hv/Hv.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index 77003bb191ec..438bc2e42d39 100644
--- a/drivers/staging/hv/Hv.c
+++ b/drivers/staging/hv/Hv.c
@@ -224,10 +224,7 @@ Description:
before any other routines in here are called
--*/
-static int
-HvInit (
- void
- )
+int HvInit (void)
{
int ret=0;
int maxLeaf;
@@ -346,10 +343,7 @@ Description:
Cleanup routine. This routine is called normally during driver unloading or exiting.
--*/
-static void
-HvCleanup (
- void
- )
+void HvCleanup (void)
{
HV_X64_MSR_HYPERCALL_CONTENTS hypercallMsr;
@@ -388,8 +382,7 @@ Description:
involves a hypercall.
--*/
-static HV_STATUS
-HvPostMessage(
+HV_STATUS HvPostMessage(
HV_CONNECTION_ID connectionId,
HV_MESSAGE_TYPE messageType,
void * payload,
@@ -442,8 +435,7 @@ Description:
involves a hypercall.
--*/
-static HV_STATUS
-HvSignalEvent(void)
+HV_STATUS HvSignalEvent(void)
{
HV_STATUS status;
@@ -464,10 +456,7 @@ Description:
Otherwise, we create and initialize the message and event pages.
--*/
-static int
-HvSynicInit (
- u32 irqVector
- )
+int HvSynicInit (u32 irqVector)
{
u64 version;
HV_SYNIC_SIMP simp;
@@ -607,10 +596,7 @@ Description:
Cleanup routine for HvSynicInit().
--*/
-static void
-HvSynicCleanup(
- void
- )
+void HvSynicCleanup(void)
{
HV_SYNIC_SINT sharedSint;
HV_SYNIC_SIMP simp;