hyperv/vmbus: Remove unnecessary callback check.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7046
This commit is contained in:
parent
df1021e7bf
commit
817c040c3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302710
@ -861,7 +861,6 @@ VmbusProcessChannelEvent(void* context, int pending)
|
||||
if (channel->ch_flags & VMBUS_CHAN_FLAG_BATCHREAD)
|
||||
is_batched_reading = true;
|
||||
|
||||
if (channel->on_channel_callback != NULL) {
|
||||
arg = channel->channel_callback_context;
|
||||
/*
|
||||
* Optimize host to guest signaling by ensuring:
|
||||
@ -885,7 +884,6 @@ VmbusProcessChannelEvent(void* context, int pending)
|
||||
else
|
||||
bytes_to_read = 0;
|
||||
} while (is_batched_reading && (bytes_to_read != 0));
|
||||
}
|
||||
}
|
||||
|
||||
static __inline void
|
||||
|
Loading…
Reference in New Issue
Block a user