Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259443
b: refs/heads/master
c: 604a1eb
h: refs/heads/master
i:
  259441: 87ef841
  259439: 9b32281
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 992fec9 commit 0afce30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 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: 2aa05dcbfbc017ac99c15de8da9d6c840a3acd5b
refs/heads/master: 604a1eb0eb67c38e29f9efd8d20668904f93b50c
14 changes: 0 additions & 14 deletions trunk/drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ void vmbus_close(struct vmbus_channel *channel)
{
struct vmbus_channel_close_channel *msg;
struct vmbus_channel_msginfo *info;
unsigned long flags;
int ret;

/* Stop callback and cancel the timer asap */
Expand Down Expand Up @@ -591,19 +590,6 @@ void vmbus_close(struct vmbus_channel *channel)

kfree(info);

/*
* If we are closing the channel during an error path in
* opening the channel, don't free the channel since the
* caller will free the channel
*/

if (channel->state == CHANNEL_OPEN_STATE) {
spin_lock_irqsave(&vmbus_connection.channel_lock, flags);
list_del(&channel->listentry);
spin_unlock_irqrestore(&vmbus_connection.channel_lock, flags);

free_channel(channel);
}
}
EXPORT_SYMBOL_GPL(vmbus_close);

Expand Down

0 comments on commit 0afce30

Please sign in to comment.