sys: FspDeviceDelete: remove DBG code

FspDeviceDelete was recently changed and its DBG code is no longer valid.
This commit is contained in:
Bill Zissimopoulos 2022-09-04 16:58:38 +01:00
parent 9154ec784d
commit 90acd19014

View File

@ -219,12 +219,6 @@ VOID FspDeviceDelete(PDEVICE_OBJECT DeviceObject)
}
FspDeviceDoIoDeleteDevice(DeviceObject);
#if DBG
#pragma prefast(suppress:28175, "Debugging only: ok to access DeviceObject->Size")
RtlFillMemory(&DeviceExtension->Kind,
(PUINT8)DeviceObject + DeviceObject->Size - (PUINT8)&DeviceExtension->Kind, 0xBD);
#endif
}
VOID FspDeviceDoIoDeleteDevice(PDEVICE_OBJECT DeviceObject)