diff options
| author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-04-26 05:21:27 +0000 |
|---|---|---|
| committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-04-26 05:21:27 +0000 |
| commit | 96a8c456f1782fee17d00cf01f77ae9f03aee581 (patch) | |
| tree | df213f823c5ab27b83d2cc88f736ea7b791cd1e7 /sys/dev/hyperv | |
| parent | 99b476b1e8d1070685bcccefd2624dcc629b1606 (diff) | |
Notes
Diffstat (limited to 'sys/dev/hyperv')
| -rw-r--r-- | sys/dev/hyperv/include/hyperv.h | 8 | ||||
| -rw-r--r-- | sys/dev/hyperv/vmbus/hv_channel.c | 1 | ||||
| -rw-r--r-- | sys/dev/hyperv/vmbus/hv_channel_mgmt.c | 2 |
3 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h index 7d46db2ea7a93..aeec8ec6e169e 100644 --- a/sys/dev/hyperv/include/hyperv.h +++ b/sys/dev/hyperv/include/hyperv.h @@ -691,7 +691,6 @@ typedef struct { } hv_vmbus_ring_buffer_info; typedef void (*hv_vmbus_pfn_channel_callback)(void *context); -typedef void (*hv_vmbus_sc_creation_callback)(void *context); typedef enum { HV_CHANNEL_OFFER_STATE, @@ -804,13 +803,6 @@ typedef struct hv_vmbus_channel { * response on the same channel. */ - /* - * Multi-channel creation callback. This callback will be called in - * process context when a Multi-channel offer is received from the host. - * The guest can open the Multi-channel in the context of this callback. - */ - hv_vmbus_sc_creation_callback sc_creation_callback; - struct mtx sc_lock; /* diff --git a/sys/dev/hyperv/vmbus/hv_channel.c b/sys/dev/hyperv/vmbus/hv_channel.c index ca455e10d394d..46a4ecc9d4fda 100644 --- a/sys/dev/hyperv/vmbus/hv_channel.c +++ b/sys/dev/hyperv/vmbus/hv_channel.c @@ -618,7 +618,6 @@ hv_vmbus_channel_close_internal(hv_vmbus_channel *channel) hv_vmbus_channel_msg_info* info; channel->state = HV_CHANNEL_OPEN_STATE; - channel->sc_creation_callback = NULL; /* * set rxq to NULL to avoid more requests be scheduled diff --git a/sys/dev/hyperv/vmbus/hv_channel_mgmt.c b/sys/dev/hyperv/vmbus/hv_channel_mgmt.c index a995e254821d5..6ea5551294936 100644 --- a/sys/dev/hyperv/vmbus/hv_channel_mgmt.c +++ b/sys/dev/hyperv/vmbus/hv_channel_mgmt.c @@ -237,8 +237,6 @@ vmbus_channel_process_offer(hv_vmbus_channel *new_channel) new_channel, new_channel->primary_channel); new_channel->state = HV_CHANNEL_OPEN_STATE; - if (channel->sc_creation_callback != NULL) - channel->sc_creation_callback(new_channel); /* * Bump up sub-channel count and notify anyone that is |
