From 7350be0adc9594cd3b3b55c369996e9560879767 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Wed, 5 May 2010 15:27:48 -0400 Subject: [PATCH] --- yaml --- r: 197306 b: refs/heads/master c: 1bbdd7a5380239533c4bb648c5d5d9510f12974b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/hv/RingBuffer.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index ce8523cc3beb..9d3c7eaa0f7c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8a62d7168af111bb80d041e6ccf74987056c79d3 +refs/heads/master: 1bbdd7a5380239533c4bb648c5d5d9510f12974b diff --git a/trunk/drivers/staging/hv/RingBuffer.c b/trunk/drivers/staging/hv/RingBuffer.c index 08b3c5567e9c..ee481fd972b7 100644 --- a/trunk/drivers/staging/hv/RingBuffer.c +++ b/trunk/drivers/staging/hv/RingBuffer.c @@ -72,7 +72,7 @@ GetNextWriteLocation(RING_BUFFER_INFO *RingInfo) { u32 next = RingInfo->RingBuffer->WriteIndex; - ASSERT(next < RingInfo->RingDataSize); + /* ASSERT(next < RingInfo->RingDataSize); */ return next; } @@ -106,7 +106,7 @@ GetNextReadLocation(RING_BUFFER_INFO *RingInfo) { u32 next = RingInfo->RingBuffer->ReadIndex; - ASSERT(next < RingInfo->RingDataSize); + /* ASSERT(next < RingInfo->RingDataSize); */ return next; } @@ -126,7 +126,7 @@ GetNextReadLocationWithOffset(RING_BUFFER_INFO *RingInfo, u32 Offset) { u32 next = RingInfo->RingBuffer->ReadIndex; - ASSERT(next < RingInfo->RingDataSize); + /* ASSERT(next < RingInfo->RingDataSize); */ next += Offset; next %= RingInfo->RingDataSize;