Commit 16cb8986 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

ntdll: Remove unused function.

parent 338100c2
......@@ -88,21 +88,6 @@ static inline NTSTATUS init_teb( TEB *teb )
/***********************************************************************
* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment