Remove excessive ASSERT
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
		
							parent
							
								
									a5cc2b2ed4
								
							
						
					
					
						commit
						c4becc5b90
					
				
							
								
								
									
										2
									
								
								wintun.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wintun.c
									
									
									
									
									
								
							@ -556,8 +556,6 @@ TunRegisterBuffers(_Inout_ TUN_CTX *Ctx, _Inout_ IRP *Irp)
 | 
			
		||||
        goto cleanupMutex;
 | 
			
		||||
    Ctx->Device.OwningFileObject = Stack->FileObject;
 | 
			
		||||
 | 
			
		||||
    ASSERT(InterlockedGet(&Ctx->Running));
 | 
			
		||||
 | 
			
		||||
    TUN_REGISTER_RINGS *Rrb = Irp->AssociatedIrp.SystemBuffer;
 | 
			
		||||
    if (Status = STATUS_INVALID_PARAMETER, Stack->Parameters.DeviceIoControl.InputBufferLength != sizeof(*Rrb))
 | 
			
		||||
        goto cleanupResetOwner;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user