aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/ChannelMgmt.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-08-17 20:22:08 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 15:01:55 -0400
commitb239549ca6ce78ac46d0c59ac6a5179c46256876 (patch)
tree4a577ce02fc932a237c020dc71cb11ac77be5059 /drivers/staging/hv/ChannelMgmt.c
parente89ce628ba255537c69c6a90a20a8bb08939c963 (diff)
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.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.c b/drivers/staging/hv/ChannelMgmt.c
index 8c83721fea5..79770c84bdd 100644
--- a/drivers/staging/hv/ChannelMgmt.c
+++ b/drivers/staging/hv/ChannelMgmt.c
@@ -129,7 +129,7 @@ Description:
129 Allocate and initialize a vmbus channel object 129 Allocate and initialize a vmbus channel object
130 130
131--*/ 131--*/
132static VMBUS_CHANNEL* AllocVmbusChannel(void) 132VMBUS_CHANNEL* AllocVmbusChannel(void)
133{ 133{
134 VMBUS_CHANNEL* channel; 134 VMBUS_CHANNEL* channel;
135 135
@@ -189,7 +189,7 @@ Description:
189 Release the resources used by the vmbus channel object 189 Release the resources used by the vmbus channel object
190 190
191--*/ 191--*/
192static void FreeVmbusChannel(VMBUS_CHANNEL* Channel) 192void FreeVmbusChannel(VMBUS_CHANNEL* Channel)
193{ 193{
194 del_timer(&Channel->poll_timer); 194 del_timer(&Channel->poll_timer);
195 195
@@ -665,10 +665,7 @@ Description:
665 This is invoked in the vmbus worker thread context. 665 This is invoked in the vmbus worker thread context.
666 666
667--*/ 667--*/
668static void 668void VmbusOnChannelMessage(void *Context)
669VmbusOnChannelMessage(
670 void *Context
671 )
672{ 669{
673 HV_MESSAGE *msg=(HV_MESSAGE*)Context; 670 HV_MESSAGE *msg=(HV_MESSAGE*)Context;
674 VMBUS_CHANNEL_MESSAGE_HEADER* hdr; 671 VMBUS_CHANNEL_MESSAGE_HEADER* hdr;
@@ -714,10 +711,7 @@ Description:
714 Send a request to get all our pending offers. 711 Send a request to get all our pending offers.
715 712
716--*/ 713--*/
717static int 714int VmbusChannelRequestOffers(void)
718VmbusChannelRequestOffers(
719 void
720 )
721{ 715{
722 int ret=0; 716 int ret=0;
723 VMBUS_CHANNEL_MESSAGE_HEADER* msg; 717 VMBUS_CHANNEL_MESSAGE_HEADER* msg;
@@ -776,10 +770,7 @@ Description:
776 Release channels that are unattached/unconnected ie (no drivers associated) 770 Release channels that are unattached/unconnected ie (no drivers associated)
777 771
778--*/ 772--*/
779static void 773void VmbusChannelReleaseUnattachedChannels(void)
780VmbusChannelReleaseUnattachedChannels(
781 void
782 )
783{ 774{
784 LIST_ENTRY *entry; 775 LIST_ENTRY *entry;
785 VMBUS_CHANNEL *channel; 776 VMBUS_CHANNEL *channel;