[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

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