Andrew Talbot : ntdll: Remove unused function.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 15 07:43:15 CST 2007


Module: wine
Branch: master
Commit: 16cb898600f839cb3635f6b8bb8135ec14766845
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=16cb898600f839cb3635f6b8bb8135ec14766845

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Jan 13 20:34:13 2007 +0000

ntdll: Remove unused function.

---

 dlls/ntdll/thread.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 1037262..dda2ed2 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -88,21 +88,6 @@ static inline NTSTATUS init_teb( TEB *te
 
 
 /***********************************************************************
- *           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-cvs mailing list