Drivers: hv: Remove leftover support for old Hyper-V versions

When removing support for running Linux guests on Windows Server
2008/2008R2 and Windows 7, one area was missed due to the code
comment spelling "2012" incorrectly. Remove that functionality now.

Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
This commit is contained in:
Michael Kelley 2026-10-22 20:05:27 -07:00 committed by Wei Liu
parent 347f874546
commit 33b28f3b31

View File

@ -561,14 +561,6 @@ void hv_pkt_iter_close(struct vmbus_channel *channel)
start_read_index = READ_ONCE(rbi->ring_buffer->read_index);
WRITE_ONCE(rbi->ring_buffer->read_index, rbi->priv_read_index);
/*
* Older versions of Hyper-V (before WS2102 and Win8) do not
* implement pending_send_sz and simply poll if the host->guest
* ring buffer is full. No signaling is needed or expected.
*/
if (!rbi->ring_buffer->feature_bits.feat_pending_send_sz)
return;
/*
* Issue a full memory barrier before making the signaling decision.
* If reading pending_send_sz were to be reordered and happen