diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-06-06 15:49:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 13:45:54 -0700 |
commit | ac4accb2bd619380c2404f9064e91f48674c6eb8 (patch) | |
tree | b09502c339700f14016f5c4f1c3939c18f3d5db8 /drivers/staging/hv/channel_mgmt.c | |
parent | 0a62040eac5ec13e5ffca82e4d9a7dca888fa236 (diff) | |
download | op-kernel-dev-ac4accb2bd619380c2404f9064e91f48674c6eb8.zip op-kernel-dev-ac4accb2bd619380c2404f9064e91f48674c6eb8.tar.gz |
Staging: hv: vmbus: Get rid of the poll timer in the channel state
Since tis is not used anymore, get rid of the poll timer in the channel state.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/channel_mgmt.c')
-rw-r--r-- | drivers/staging/hv/channel_mgmt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index 957d61e..178e1c4 100644 --- a/drivers/staging/hv/channel_mgmt.c +++ b/drivers/staging/hv/channel_mgmt.c @@ -283,10 +283,6 @@ static struct vmbus_channel *alloc_channel(void) spin_lock_init(&channel->inbound_lock); - init_timer(&channel->poll_timer); - channel->poll_timer.data = (unsigned long)channel; - channel->poll_timer.function = vmbus_ontimer; - channel->controlwq = create_workqueue("hv_vmbus_ctl"); if (!channel->controlwq) { kfree(channel); @@ -315,7 +311,6 @@ static void release_channel(struct work_struct *work) */ void free_channel(struct vmbus_channel *channel) { - del_timer_sync(&channel->poll_timer); /* * We have to release the channel's workqueue/thread in the vmbus's |