https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fdc787c11dfb0f7c097a9fd5f90bde52ebafb53e

commit fdc787c11dfb0f7c097a9fd5f90bde52ebafb53e
Author:     Serge Gautherie <[email protected]>
AuthorDate: Mon Nov 25 18:29:03 2019 +0100
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Mon Nov 25 18:29:03 2019 +0100

    [HALX86] Remove a now useless ASSERT() (#2089)
    
    By construction now the assertion will always be verified.
    Addendum to 5887b170.
---
 hal/halx86/generic/bios.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hal/halx86/generic/bios.c b/hal/halx86/generic/bios.c
index a922084ca8d..85a9d5b37d5 100644
--- a/hal/halx86/generic/bios.c
+++ b/hal/halx86/generic/bios.c
@@ -400,7 +400,6 @@ HalpStoreAndClearIopm(VOID)
             //
             // Save it
             //
-            ASSERT(j < IOPM_SIZE / sizeof(USHORT));
             HalpSavedIoMapData[j][0] = i;
             HalpSavedIoMapData[j][1] = *Entry;
             j++;

Reply via email to