Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259458
b: refs/heads/master
c: ac4accb
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 176329b commit 46ca8ec
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a62040eac5ec13e5ffca82e4d9a7dca888fa236
refs/heads/master: ac4accb2bd619380c2404f9064e91f48674c6eb8
1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ void vmbus_close(struct vmbus_channel *channel)

/* Stop callback and cancel the timer asap */
channel->onchannel_callback = NULL;
del_timer_sync(&channel->poll_timer);

/* Send a closing message */
info = kmalloc(sizeof(*info) +
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/hv/channel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ struct vmbus_channel {

struct hv_device *device_obj;

struct timer_list poll_timer; /* SA-111 workaround */
struct work_struct work;

enum vmbus_channel_state state;
Expand Down

0 comments on commit 46ca8ec

Please sign in to comment.