From 33b28f3b313353f11fc939e9a268605e66290d0b Mon Sep 17 00:00:00 2001 From: Michael Kelley Date: Thu, 22 Oct 2026 20:05:27 -0700 Subject: [PATCH] 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 Reviewed-by: Hamza Mahfooz Signed-off-by: Wei Liu --- 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