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

commit fdcefaa7cbd419aef8796b2f690c90d1cd968431
Author:     Serge Gautherie <[email protected]>
AuthorDate: Mon May 24 08:56:17 2021 +0200
Commit:     Stanislav Motylkov <[email protected]>
CommitDate: Sat Jan 8 18:00:38 2022 +0300

    [HDAUDBUS] HDA_PdoPnp(): Remove a redundant ASSERT()
    
    Addendum to cf7fc81 (r68311).
---
 drivers/wdm/audio/hdaudbus/hdaudbus.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/wdm/audio/hdaudbus/hdaudbus.cpp 
b/drivers/wdm/audio/hdaudbus/hdaudbus.cpp
index 52e6cc3466b..88e82c6b7ed 100644
--- a/drivers/wdm/audio/hdaudbus/hdaudbus.cpp
+++ b/drivers/wdm/audio/hdaudbus/hdaudbus.cpp
@@ -131,7 +131,6 @@ HDA_PdoPnp(
         if (IoStack->Parameters.QueryDeviceRelations.Type == 
TargetDeviceRelation)
         {
             /* handle target device relations */
-            ASSERT(IoStack->Parameters.QueryDeviceRelations.Type == 
TargetDeviceRelation);
             ASSERT(Irp->IoStatus.Information == 0);
 
             /* allocate device relation */

Reply via email to