diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-29 21:00:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:53 (GMT) |
commit | 420beac4fcc9efd6f7d838ef7cc5693c58c98015 (patch) | |
tree | 7cfc301f5a3941c3e6050716fa87301feaf1fac0 /drivers/staging/hv/Channel.c | |
parent | de65a38406bdf712abc2a845fe1f3db7d1a083ed (diff) | |
download | linux-fsl-qoriq-420beac4fcc9efd6f7d838ef7cc5693c58c98015.tar.xz |
Staging: hv: remove WaitEventClose()
All WaitEventClose() close did was call kfree(), so get rid of it and
replace it with a call to kfree()
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Channel.c')
-rw-r--r-- | drivers/staging/hv/Channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c index 34c8662..e633741 100644 --- a/drivers/staging/hv/Channel.c +++ b/drivers/staging/hv/Channel.c @@ -309,7 +309,7 @@ Cleanup: REMOVE_ENTRY_LIST(&openInfo->MsgListEntry); spin_unlock_irqrestore(&gVmbusConnection.channelmsg_lock, flags); - WaitEventClose(openInfo->WaitEvent); + kfree(openInfo->WaitEvent); kfree(openInfo); DPRINT_EXIT(VMBUS); @@ -596,7 +596,7 @@ Cleanup: REMOVE_ENTRY_LIST(&msgInfo->MsgListEntry); spin_unlock_irqrestore(&gVmbusConnection.channelmsg_lock, flags); - WaitEventClose(msgInfo->WaitEvent); + kfree(msgInfo->WaitEvent); kfree(msgInfo); DPRINT_EXIT(VMBUS); @@ -658,7 +658,7 @@ VmbusChannelTeardownGpadl( REMOVE_ENTRY_LIST(&info->MsgListEntry); spin_unlock_irqrestore(&gVmbusConnection.channelmsg_lock, flags); - WaitEventClose(info->WaitEvent); + kfree(info->WaitEvent); kfree(info); DPRINT_EXIT(VMBUS); |