[azure 4.13][PATCH 08/19] Revert "UBUNTU: SAUCE: vmbus: vmbus_open(): reset onchannel_callback on error"
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Tue Dec 12 15:41:57 UTC 2017
From: Dexuan Cui <decui at microsoft.com>
BugLink: http://bugs.launchpad.net/bugs/1736283
This reverts commit 68a573189e59a800758102f0118c94ef2ba6969e.
Signed-off-by: Dexuan Cui <decui at microsoft.com>
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
drivers/hv/channel.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index adc6210b8825..82bbd9561050 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -240,8 +240,6 @@ int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size,
get_order(send_ringbuffer_size + recv_ringbuffer_size));
error_set_chnstate:
newchannel->state = CHANNEL_OPEN_STATE;
- newchannel->onchannel_callback = NULL;
- newchannel->channel_callback_context = NULL;
return err;
}
EXPORT_SYMBOL_GPL(vmbus_open);
--
2.7.4
More information about the kernel-team
mailing list