diff options
author | Bill Pemberton | 2009-07-29 23:00:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:01:53 +0200 |
commit | 420beac4fcc9efd6f7d838ef7cc5693c58c98015 (patch) | |
tree | 7cfc301f5a3941c3e6050716fa87301feaf1fac0 /drivers/staging/hv/Connection.c | |
parent | Staging: hv: rework use of workqueues in osd (diff) | |
download | kernel-qcow2-linux-420beac4fcc9efd6f7d838ef7cc5693c58c98015.tar.gz kernel-qcow2-linux-420beac4fcc9efd6f7d838ef7cc5693c58c98015.tar.xz kernel-qcow2-linux-420beac4fcc9efd6f7d838ef7cc5693c58c98015.zip |
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/Connection.c')
-rw-r--r-- | drivers/staging/hv/Connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index 33e5628b88c3..8d76bd45db87 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -155,7 +155,7 @@ VmbusConnect(void) } - WaitEventClose(msgInfo->WaitEvent); + kfree(msgInfo->WaitEvent); kfree(msgInfo); DPRINT_EXIT(VMBUS); @@ -183,7 +183,7 @@ Cleanup: if (msgInfo) { if (msgInfo->WaitEvent) - WaitEventClose(msgInfo->WaitEvent); + kfree(msgInfo->WaitEvent); kfree(msgInfo); } |