summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/ChannelMgmt.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-07-29 21:00:10 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:53 (GMT)
commit420beac4fcc9efd6f7d838ef7cc5693c58c98015 (patch)
tree7cfc301f5a3941c3e6050716fa87301feaf1fac0 /drivers/staging/hv/ChannelMgmt.c
parentde65a38406bdf712abc2a845fe1f3db7d1a083ed (diff)
downloadlinux-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/ChannelMgmt.c')
-rw-r--r--drivers/staging/hv/ChannelMgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.c b/drivers/staging/hv/ChannelMgmt.c
index 2c4f4c8..7ef1f2b 100644
--- a/drivers/staging/hv/ChannelMgmt.c
+++ b/drivers/staging/hv/ChannelMgmt.c
@@ -762,7 +762,7 @@ VmbusChannelRequestOffers(
Cleanup:
if (msgInfo)
{
- WaitEventClose(msgInfo->WaitEvent);
+ kfree(msgInfo->WaitEvent);
kfree(msgInfo);
}