https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4f1e9252f18c687d2933f5366af82dbc90c3c77d

commit 4f1e9252f18c687d2933f5366af82dbc90c3c77d
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Sat Nov 17 17:36:18 2018 +0100
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Sat Nov 17 17:36:18 2018 +0100

    [NTOSKRNL] ExfReleaseRundownProtectionCacheAware*() functions don't return 
anything
---
 ntoskrnl/ex/rundown.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ntoskrnl/ex/rundown.c b/ntoskrnl/ex/rundown.c
index 00e2c3b772..e413fa2c7d 100644
--- a/ntoskrnl/ex/rundown.c
+++ b/ntoskrnl/ex/rundown.c
@@ -413,7 +413,7 @@ ExfReleaseRundownProtectionCacheAware(IN 
PEX_RUNDOWN_REF_CACHE_AWARE RunRefCache
     PEX_RUNDOWN_REF RunRef;
 
     RunRef = ExGetRunRefForGivenProcessor(RunRefCacheAware, 
KeGetCurrentProcessorNumber());
-    return _ExReleaseRundownProtection(RunRef);
+    _ExReleaseRundownProtection(RunRef);
 }
 
 /*
@@ -427,7 +427,7 @@ ExfReleaseRundownProtectionCacheAwareEx(IN 
PEX_RUNDOWN_REF_CACHE_AWARE RunRefCac
     PEX_RUNDOWN_REF RunRef;
 
     RunRef = ExGetRunRefForGivenProcessor(RunRefCacheAware, 
KeGetCurrentProcessorNumber());
-    return ExfReleaseRundownProtectionEx(RunRef, Count);
+    ExfReleaseRundownProtectionEx(RunRef, Count);
 }
 
 /*

Reply via email to