[NTOSKRNL] Fix indentation. No code changes.
authorEric Kohl <eric.kohl@reactos.org>
Sun, 16 Dec 2018 09:30:23 +0000 (10:30 +0100)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 16 Dec 2018 09:30:23 +0000 (10:30 +0100)
ntoskrnl/io/iomgr/controller.c

index 5fe6717..afe7704 100644 (file)
@@ -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);