diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs index ccc54cf52a..b0b6837f65 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs @@ -395,7 +395,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure _block = block; var firstEqualByteIndex = FindFirstEqualByte(ref byte0Equals); - var vectorBytesScanned = firstEqualByteIndex + 1; if (_block == limit.Block && index + firstEqualByteIndex > limit.Index) {