kernel32: We no longer need the server start time in kernel32.

This commit is contained in:
Alexandre Julliard 2013-01-29 11:50:21 +01:00
parent a5ff4b8088
commit 199c99d852

View File

@ -41,8 +41,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(process);
extern int CDECL __wine_set_signal_handler(unsigned, int (*)(unsigned)); extern int CDECL __wine_set_signal_handler(unsigned, int (*)(unsigned));
static ULONGLONG server_start_time;
/*********************************************************************** /***********************************************************************
* set_entry_point * set_entry_point
*/ */
@ -83,12 +81,8 @@ static void set_entry_point( HMODULE module, const char *name, DWORD rva )
*/ */
static BOOL process_attach( HMODULE module ) static BOOL process_attach( HMODULE module )
{ {
SYSTEM_TIMEOFDAY_INFORMATION ti;
RTL_USER_PROCESS_PARAMETERS *params = NtCurrentTeb()->Peb->ProcessParameters; RTL_USER_PROCESS_PARAMETERS *params = NtCurrentTeb()->Peb->ProcessParameters;
NtQuerySystemInformation( SystemTimeOfDayInformation, &ti, sizeof(ti), NULL );
server_start_time = ti.liKeBootTime.QuadPart;
/* Setup registry locale information */ /* Setup registry locale information */
LOCALE_InitRegistry(); LOCALE_InitRegistry();