Staging: hv: vmbus: Don't free the channel when the channel is closed
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:49:35 +0000 (15:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:45:47 +0000 (13:45 -0700)
commit604a1eb0eb67c38e29f9efd8d20668904f93b50c
tree9b7addb89b2bb0181e70a044c626db8b07f639b0
parent2aa05dcbfbc017ac99c15de8da9d6c840a3acd5b
Staging: hv: vmbus: Don't free the channel when the channel is closed

When the driver unloads, the device must persist. A channel represents the
device and so we should not free the channel when the channel is closed as
part of the driver unloading.

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>
drivers/staging/hv/channel.c