mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
[COMPBATT] Remove the useless WaitFlag field in the code which is never used
This commit is contained in:
parent
04cd478035
commit
f9ea9220d8
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue