[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 29 Feb 2012 19:12:59 +0000 (19:12 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 29 Feb 2012 19:12:59 +0000 (19:12 +0000)
Get rid off TAG macro

svn path=/trunk/; revision=55929

reactos/ntoskrnl/fsrtl/notify.c
reactos/ntoskrnl/include/internal/fsrtl.h

index c273ca8..7a0b229 100644 (file)
@@ -495,7 +495,7 @@ FsRtlNotifyInitializeSync(IN PNOTIFY_SYNC *NotifySync)
     *NotifySync = NULL;
     
     RealNotifySync = ExAllocatePoolWithTag(NonPagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE,
-                                           sizeof(REAL_NOTIFY_SYNC), TAG('F', 'S', 'N', 'S'));
+                                           sizeof(REAL_NOTIFY_SYNC), 'FSNS');
     ExInitializeFastMutex(&(RealNotifySync->FastMutex));
     RealNotifySync->OwningThread = 0;
     RealNotifySync->OwnerCount = 0;
@@ -570,7 +570,7 @@ FsRtlNotifyUninitializeSync(IN PNOTIFY_SYNC *NotifySync)
 {
     if (*NotifySync)
     {
-        ExFreePoolWithTag(*NotifySync, TAG('F', 'S', 'N', 'S'));
+        ExFreePoolWithTag(*NotifySync, 'FSNS');
         *NotifySync = NULL;
     }
 }
index abb1c31..7f759b9 100644 (file)
@@ -6,10 +6,6 @@
  * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
  */
 
-#ifndef TAG
-#define TAG(w,x,y,z) (((w)<<24)|((x)<<16)|((y)<<8)|(z))
-#endif
-
 //
 // Define this if you want debugging support
 //