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

commit cba4fd57d0a11fd45af4a13124daaa91132434ce
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

    [KS] KsServiceBusEnumPnpRequest(): Remove a redundant ASSERT()
    
    Addendum to c6b26fa (r50531).
---
 drivers/ksfilter/ks/swenum.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/ksfilter/ks/swenum.c b/drivers/ksfilter/ks/swenum.c
index 79fb61ab972..1e5738f8581 100644
--- a/drivers/ksfilter/ks/swenum.c
+++ b/drivers/ksfilter/ks/swenum.c
@@ -2165,7 +2165,6 @@ KsServiceBusEnumPnpRequest(
         else if (IoStack->MinorFunction == IRP_MN_QUERY_DEVICE_RELATIONS && 
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