server: Do not store unix_pid in process_snapshot struct.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-07 12:51:39 +02:00 committed by Alexandre Julliard
parent 8888459330
commit 7c06f1c218
2 changed files with 0 additions and 2 deletions

View File

@ -1067,7 +1067,6 @@ struct process_snapshot *process_snap( int *count )
ptr->count = process->obj.refcount; ptr->count = process->obj.refcount;
ptr->priority = process->priority; ptr->priority = process->priority;
ptr->handles = get_handle_table_count(process); ptr->handles = get_handle_table_count(process);
ptr->unix_pid = process->unix_pid;
grab_object( process ); grab_object( process );
ptr++; ptr++;
} }

View File

@ -104,7 +104,6 @@ struct process_snapshot
int threads; /* number of threads */ int threads; /* number of threads */
int priority; /* priority class */ int priority; /* priority class */
int handles; /* number of handles */ int handles; /* number of handles */
int unix_pid; /* Unix pid */
}; };
#define CPU_FLAG(cpu) (1 << (cpu)) #define CPU_FLAG(cpu) (1 << (cpu))