Author: fireball
Date: Sun Dec 16 20:23:38 2007
New Revision: 31283
URL:
http://svn.reactos.org/svn/reactos?rev=31283&view=rev
Log:
- A bit of cleanup (no code change).
Modified:
trunk/reactos/ntoskrnl/config/cmdelay.c
trunk/reactos/ntoskrnl/config/cmkcbncb.c
trunk/reactos/ntoskrnl/config/cmmapvw.c
Modified: trunk/reactos/ntoskrnl/config/cmdelay.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmdelay.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmdelay.c (original)
+++ trunk/reactos/ntoskrnl/config/cmdelay.c Sun Dec 16 20:23:38 2007
@@ -346,4 +346,3 @@
/* Set new delay size and remove the delete flag */
Kcb->DelayedCloseIndex = CmpDelayedCloseSize;
}
-
Modified: trunk/reactos/ntoskrnl/config/cmkcbncb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmkcbncb.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmkcbncb.c (original)
+++ trunk/reactos/ntoskrnl/config/cmkcbncb.c Sun Dec 16 20:23:38 2007
@@ -925,8 +925,8 @@
if (!(Flags & CMP_ENLIST_KCB_LOCKED_EXCLUSIVE))
{
/* Acquire the lock */
- CmpAcquireKcbLockExclusive(KeyBody->KeyControlBlock);
- }
+ CmpAcquireKcbLockExclusive(KeyBody->KeyControlBlock);
+ }
/* Make sure we have the exclusive lock */
ASSERT((CmpIsKcbLockedExclusive(KeyBody->KeyControlBlock) == TRUE) ||
@@ -941,7 +941,7 @@
CMP_ENLIST_KCB_LOCKED_EXCLUSIVE)))
{
/* Release the lock */
- CmpReleaseKcbLock(KeyBody->KeyControlBlock);
+ CmpReleaseKcbLock(KeyBody->KeyControlBlock);
}
}
@@ -974,7 +974,7 @@
ASSERT(IsListEmpty(&KeyBody->KeyBodyList) == FALSE);
/* Lock the KCB */
- if (!LockHeld) CmpAcquireKcbLockExclusive(KeyBody->KeyControlBlock);
+ if (!LockHeld) CmpAcquireKcbLockExclusive(KeyBody->KeyControlBlock);
ASSERT((CmpIsKcbLockedExclusive(KeyBody->KeyControlBlock) == TRUE) ||
(CmpTestRegistryLockExclusive() == TRUE));
@@ -982,7 +982,5 @@
RemoveEntryList(&KeyBody->KeyBodyList);
/* Unlock it it if we did a manual lock */
- if (!LockHeld) CmpReleaseKcbLock(KeyBody->KeyControlBlock);
-}
-
-
+ if (!LockHeld) CmpReleaseKcbLock(KeyBody->KeyControlBlock);
+}
Modified: trunk/reactos/ntoskrnl/config/cmmapvw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmmapvw.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmmapvw.c (original)
+++ trunk/reactos/ntoskrnl/config/cmmapvw.c Sun Dec 16 20:23:38 2007
@@ -29,4 +29,3 @@
Hive->PinnedViews = 0;
Hive->UseCount = 0;
}
-