https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e8d16d0a7d7c5adc70e40…
commit e8d16d0a7d7c5adc70e40e66db15ed372647345b
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Dec 16 10:30:23 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Dec 16 10:30:23 2018 +0100
[NTOSKRNL] Fix indentation. No code changes.
---
ntoskrnl/io/iomgr/controller.c | 48 +++++++++++++++++++++---------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/ntoskrnl/io/iomgr/controller.c b/ntoskrnl/io/iomgr/controller.c
index 5fe6717e7a..afe77044a1 100644
--- a/ntoskrnl/io/iomgr/controller.c
+++ b/ntoskrnl/io/iomgr/controller.c
@@ -56,29 +56,29 @@ PCONTROLLER_OBJECT
NTAPI
IoCreateController(IN ULONG Size)
{
- PCONTROLLER_OBJECT Controller;
- OBJECT_ATTRIBUTES ObjectAttributes;
- HANDLE Handle;
- NTSTATUS Status;
- PAGED_CODE();
-
- /* Initialize an empty OBA */
- InitializeObjectAttributes(&ObjectAttributes,
- NULL,
- OBJ_KERNEL_HANDLE,
- NULL,
- NULL);
-
- /* Create the Object */
- Status = ObCreateObject(KernelMode,
- IoControllerObjectType,
- &ObjectAttributes,
- KernelMode,
- NULL,
- sizeof(CONTROLLER_OBJECT) + Size,
- 0,
- 0,
- (PVOID*)&Controller);
+ PCONTROLLER_OBJECT Controller;
+ OBJECT_ATTRIBUTES ObjectAttributes;
+ HANDLE Handle;
+ NTSTATUS Status;
+ PAGED_CODE();
+
+ /* Initialize an empty OBA */
+ InitializeObjectAttributes(&ObjectAttributes,
+ NULL,
+ OBJ_KERNEL_HANDLE,
+ NULL,
+ NULL);
+
+ /* Create the Object */
+ Status = ObCreateObject(KernelMode,
+ IoControllerObjectType,
+ &ObjectAttributes,
+ KernelMode,
+ NULL,
+ sizeof(CONTROLLER_OBJECT) + Size,
+ 0,
+ 0,
+ (PVOID*)&Controller);
if (!NT_SUCCESS(Status)) return NULL;
/* Insert it */
@@ -88,7 +88,7 @@ IoCreateController(IN ULONG Size)
1,
(PVOID*)&Controller,
&Handle);
- if (!NT_SUCCESS(Status)) return NULL;
+ if (!NT_SUCCESS(Status)) return NULL;
/* Close the dummy handle */
ObCloseHandle(Handle, KernelMode);