mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 06:57:22 +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 */
|
/* Set IRP data */
|
||||||
IoSetNextIrpStackLocation(Irp);
|
IoSetNextIrpStackLocation(Irp);
|
||||||
Irp->IoStatus.Status = STATUS_DEVICE_NOT_CONNECTED;
|
Irp->IoStatus.Status = STATUS_DEVICE_NOT_CONNECTED;
|
||||||
BatteryData->WaitFlag = 0;
|
|
||||||
|
|
||||||
/* Insert this battery in the list */
|
/* Insert this battery in the list */
|
||||||
ExAcquireFastMutex(&DeviceExtension->Lock);
|
ExAcquireFastMutex(&DeviceExtension->Lock);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue