mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[NTOSKRNL]
Remove useless casts to volatile ULONG. It doesn't make sense to cast something to volatile, after the pointer is already dereferenced. But we don't need this here anyway. svn path=/trunk/; revision=52118
This commit is contained in:
parent
15b10b556d
commit
db1f509d7a
1 changed files with 3 additions and 3 deletions
|
@ -314,7 +314,7 @@ IopInterlockedIncrementUlong(IN KSPIN_LOCK_QUEUE_NUMBER Queue,
|
|||
ULONG OldValue;
|
||||
|
||||
Irql = KeAcquireQueuedSpinLock(Queue);
|
||||
OldValue = ((volatile ULONG)*Ulong)++;
|
||||
OldValue = (*Ulong)++;
|
||||
KeReleaseQueuedSpinLock(Queue, Irql);
|
||||
|
||||
return OldValue;
|
||||
|
@ -332,7 +332,7 @@ IopInterlockedDecrementUlong(IN KSPIN_LOCK_QUEUE_NUMBER Queue,
|
|||
ULONG OldValue;
|
||||
|
||||
Irql = KeAcquireQueuedSpinLock(Queue);
|
||||
OldValue = ((volatile ULONG)*Ulong)--;
|
||||
OldValue = (*Ulong)--;
|
||||
KeReleaseQueuedSpinLock(Queue, Irql);
|
||||
|
||||
return OldValue;
|
||||
|
@ -724,7 +724,7 @@ IopMountVolume(IN PDEVICE_OBJECT DeviceObject,
|
|||
* file system.
|
||||
*/
|
||||
if (!(AllowRawMount) &&
|
||||
(Status != STATUS_UNRECOGNIZED_VOLUME) &&
|
||||
(Status != STATUS_UNRECOGNIZED_VOLUME) &&
|
||||
(FsRtlIsTotalDeviceFailure(Status)))
|
||||
{
|
||||
/* Break out and give up */
|
||||
|
|
Loading…
Reference in a new issue