mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
[COMPBATT] Remove the useless WaitFlag field in the code which is never used
This commit is contained in:
@@ -165,7 +165,6 @@ CompBattAddNewBattery(IN PUNICODE_STRING BatteryName,
|
||||
/* Set IRP data */
|
||||
IoSetNextIrpStackLocation(Irp);
|
||||
Irp->IoStatus.Status = STATUS_DEVICE_NOT_CONNECTED;
|
||||
BatteryData->WaitFlag = 0;
|
||||
|
||||
/* Insert this battery in the list */
|
||||
ExAcquireFastMutex(&DeviceExtension->Lock);
|
||||
|
||||
Reference in New Issue
Block a user