diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-17 17:22:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:55 -0700 |
commit | b239549ca6ce78ac46d0c59ac6a5179c46256876 (patch) | |
tree | 4a577ce02fc932a237c020dc71cb11ac77be5059 /drivers/staging/hv/ChannelMgmt.c | |
parent | e89ce628ba255537c69c6a90a20a8bb08939c963 (diff) | |
download | op-kernel-dev-b239549ca6ce78ac46d0c59ac6a5179c46256876.zip op-kernel-dev-b239549ca6ce78ac46d0c59ac6a5179c46256876.tar.gz |
Staging: hv: cleanup coding style issues in ChannelMgmt.h
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/ChannelMgmt.c')
-rw-r--r-- | drivers/staging/hv/ChannelMgmt.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.c b/drivers/staging/hv/ChannelMgmt.c index 8c83721..79770c8 100644 --- a/drivers/staging/hv/ChannelMgmt.c +++ b/drivers/staging/hv/ChannelMgmt.c @@ -129,7 +129,7 @@ Description: Allocate and initialize a vmbus channel object --*/ -static VMBUS_CHANNEL* AllocVmbusChannel(void) +VMBUS_CHANNEL* AllocVmbusChannel(void) { VMBUS_CHANNEL* channel; @@ -189,7 +189,7 @@ Description: Release the resources used by the vmbus channel object --*/ -static void FreeVmbusChannel(VMBUS_CHANNEL* Channel) +void FreeVmbusChannel(VMBUS_CHANNEL* Channel) { del_timer(&Channel->poll_timer); @@ -665,10 +665,7 @@ Description: This is invoked in the vmbus worker thread context. --*/ -static void -VmbusOnChannelMessage( - void *Context - ) +void VmbusOnChannelMessage(void *Context) { HV_MESSAGE *msg=(HV_MESSAGE*)Context; VMBUS_CHANNEL_MESSAGE_HEADER* hdr; @@ -714,10 +711,7 @@ Description: Send a request to get all our pending offers. --*/ -static int -VmbusChannelRequestOffers( - void - ) +int VmbusChannelRequestOffers(void) { int ret=0; VMBUS_CHANNEL_MESSAGE_HEADER* msg; @@ -776,10 +770,7 @@ Description: Release channels that are unattached/unconnected ie (no drivers associated) --*/ -static void -VmbusChannelReleaseUnattachedChannels( - void - ) +void VmbusChannelReleaseUnattachedChannels(void) { LIST_ENTRY *entry; VMBUS_CHANNEL *channel; |