[PATCH 1/1] Drivers: hv: Remove leftover support for old Hyper-V versions

From: Michael Kelley

Date: Thu Oct 22 2026 - 23:06:29 EST


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@xxxxxxxxxxx>
---
drivers/hv/ring_buffer.c | 8 --------
1 file changed, 8 deletions(-)

diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c
index 72f30ab23d1d..d8b085dfdb46 100644
--- a/drivers/hv/ring_buffer.c
+++ b/drivers/hv/ring_buffer.c
@@ -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
--
2.25.1