ntdll: Remove unused function
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Jan 13 14:34:13 CST 2007
Changelog:
ntdll: Remove unused function.
diff -urN a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
--- a/dlls/ntdll/thread.c 2007-01-04 21:26:50.000000000 +0000
+++ b/dlls/ntdll/thread.c 2007-01-13 20:03:26.000000000 +0000
@@ -88,21 +88,6 @@
/***********************************************************************
- * free_teb
- */
-static inline void free_teb( TEB *teb )
-{
- SIZE_T size = 0;
- void *addr = teb;
- struct ntdll_thread_regs *thread_regs = (struct ntdll_thread_regs *)teb->SpareBytes1;
-
- NtFreeVirtualMemory( NtCurrentProcess(), &addr, &size, MEM_RELEASE );
- wine_ldt_free_fs( thread_regs->fs );
- munmap( teb, sigstack_total_size );
-}
-
-
-/***********************************************************************
* fix_unicode_string
*
* Make sure the unicode string doesn't point beyond the end pointer
More information about the wine-patches
mailing list