[NTOSKRNL]

Get rid off TAG macro

svn path=/trunk/; revision=55929
This commit is contained in:
Pierre Schweitzer 2012-02-29 19:12:59 +00:00
parent bc96c38875
commit 171a3edfaa
2 changed files with 2 additions and 6 deletions

View file

@ -495,7 +495,7 @@ FsRtlNotifyInitializeSync(IN PNOTIFY_SYNC *NotifySync)
*NotifySync = NULL; *NotifySync = NULL;
RealNotifySync = ExAllocatePoolWithTag(NonPagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE, 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)); ExInitializeFastMutex(&(RealNotifySync->FastMutex));
RealNotifySync->OwningThread = 0; RealNotifySync->OwningThread = 0;
RealNotifySync->OwnerCount = 0; RealNotifySync->OwnerCount = 0;
@ -570,7 +570,7 @@ FsRtlNotifyUninitializeSync(IN PNOTIFY_SYNC *NotifySync)
{ {
if (*NotifySync) if (*NotifySync)
{ {
ExFreePoolWithTag(*NotifySync, TAG('F', 'S', 'N', 'S')); ExFreePoolWithTag(*NotifySync, 'FSNS');
*NotifySync = NULL; *NotifySync = NULL;
} }
} }

View file

@ -6,10 +6,6 @@
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) * 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 // Define this if you want debugging support
// //