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:
parent
3b50b13baa
commit
6de616d3a0
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user