Author: tfaber
Date: Wed Apr 6 20:02:38 2016
New Revision: 71110
URL:
http://svn.reactos.org/svn/reactos?rev=71110&view=rev
Log:
[NTOS:IO]
- Get rid of some magic numbers
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] Wed Apr 6 20:02:38 2016
@@ -2001,8 +2001,8 @@
*/
Status = IopGetDriverObject(DriverObject,
&ServiceName,
- (Type == 2 /* SERVICE_FILE_SYSTEM_DRIVER */ ||
- Type == 8 /* SERVICE_RECOGNIZER_DRIVER */));
+ (Type == SERVICE_FILE_SYSTEM_DRIVER ||
+ Type == SERVICE_RECOGNIZER_DRIVER));
if (!NT_SUCCESS(Status))
{
@@ -2037,8 +2037,8 @@
Status = IopInitializeDriverModule(DeviceNode,
ModuleObject,
&DeviceNode->ServiceName,
- (Type == 2 /* SERVICE_FILE_SYSTEM_DRIVER */
||
- Type == 8 /* SERVICE_RECOGNIZER_DRIVER */),
+ (Type == SERVICE_FILE_SYSTEM_DRIVER ||
+ Type == SERVICE_RECOGNIZER_DRIVER),
DriverObject);
if (!NT_SUCCESS(Status))
{