On 23/02/2022 18:38, Julien Grall wrote:

From: Julien Grall <jgr...@amazon.com><mailto:jgr...@amazon.com>

free_heap_pages() has an ASSERT() checking that node is >= 0. However
node is defined as an unsigned int. So it cannot be negative.

Therefore remove the check as it will always be true.


Coverity-ID: 1055631


Signed-off-by: Julien Grall <jgr...@amazon.com><mailto:jgr...@amazon.com>

Acked-by: Andrew Cooper 
<andrew.coop...@citrix.com><mailto:andrew.coop...@citrix.com>

Reply via email to