[HDAUDBUS] HDA_PdoPnp(): Remove a redundant ASSERT()
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Mon, 24 May 2021 06:56:17 +0000 (08:56 +0200)
committerStanislav Motylkov <x86corez@gmail.com>
Sat, 8 Jan 2022 15:00:38 +0000 (18:00 +0300)
Addendum to cf7fc81 (r68311).

drivers/wdm/audio/hdaudbus/hdaudbus.cpp

index 52e6cc3..88e82c6 100644 (file)
@@ -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 */