[NTOS:PNP] Remove excessive error messages

This commit is contained in:
Victor Perevertkin 2021-12-28 04:21:21 +03:00
parent 1a6bd2704a
commit fd9436d768
No known key found for this signature in database
GPG key ID: C750B7222E9C7830

View file

@ -250,8 +250,11 @@ IopCreateDeviceInstancePath(
Status = IopQueryDeviceCapabilities(DeviceNode, &DeviceCapabilities); Status = IopQueryDeviceCapabilities(DeviceNode, &DeviceCapabilities);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{
if (Status != STATUS_NOT_SUPPORTED)
{ {
DPRINT1("IopQueryDeviceCapabilities() failed (Status 0x%08lx)\n", Status); DPRINT1("IopQueryDeviceCapabilities() failed (Status 0x%08lx)\n", Status);
}
RtlFreeUnicodeString(&DeviceId); RtlFreeUnicodeString(&DeviceId);
return Status; return Status;
} }