From 171a3edfaac46d2f217b1cb430a005c6470926f6 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Wed, 29 Feb 2012 19:12:59 +0000 Subject: [PATCH] [NTOSKRNL] Get rid off TAG macro svn path=/trunk/; revision=55929 --- reactos/ntoskrnl/fsrtl/notify.c | 4 ++-- reactos/ntoskrnl/include/internal/fsrtl.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/reactos/ntoskrnl/fsrtl/notify.c b/reactos/ntoskrnl/fsrtl/notify.c index c273ca81bb7..7a0b2293492 100644 --- a/reactos/ntoskrnl/fsrtl/notify.c +++ b/reactos/ntoskrnl/fsrtl/notify.c @@ -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; } } diff --git a/reactos/ntoskrnl/include/internal/fsrtl.h b/reactos/ntoskrnl/include/internal/fsrtl.h index abb1c31e986..7f759b9d573 100644 --- a/reactos/ntoskrnl/include/internal/fsrtl.h +++ b/reactos/ntoskrnl/include/internal/fsrtl.h @@ -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 //