hyperv/vmbus: Nuke unused field from hv_vmbus_channel.

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D7036
This commit is contained in:
Sepherosa Ziehau 2016-07-13 06:30:33 +00:00
parent 3b50b13baa
commit 6de616d3a0
2 changed files with 1 additions and 6 deletions

View File

@ -564,8 +564,6 @@ typedef struct hv_vmbus_channel {
*/
boolean_t batched_reading;
boolean_t is_dedicated_interrupt;
struct hypercall_sigevt_in *ch_sigevt;
struct hyperv_dma ch_sigevt_dma;

View File

@ -311,11 +311,8 @@ vmbus_channel_on_offer_internal(struct vmbus_softc *sc,
}
new_channel->ch_sigevt->hc_connid = VMBUS_CONNID_EVENT;
if (sc->vmbus_version != VMBUS_VERSION_WS2008) {
new_channel->is_dedicated_interrupt =
(offer->is_dedicated_interrupt != 0);
if (sc->vmbus_version != VMBUS_VERSION_WS2008)
new_channel->ch_sigevt->hc_connid = offer->connection_id;
}
new_channel->monitor_group = (uint8_t) offer->monitor_id / 32;
new_channel->monitor_bit = (uint8_t) offer->monitor_id % 32;