From 747a0b440f2a7de390a1a58fe7374c77e65643d0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 1 Mar 2010 12:15:41 +0100 Subject: s3: Remove unused "mypid" from count_current_connections() state --- source3/smbd/connection.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3') diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index a54dc8d797..e2b01d0579 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -48,7 +48,6 @@ bool yield_connection(connection_struct *conn, const char *name) } struct count_stat { - pid_t mypid; int curr_connections; const char *name; bool Clear; @@ -99,7 +98,6 @@ int count_current_connections( const char *sharename, bool clear ) { struct count_stat cs; - cs.mypid = sys_getpid(); cs.curr_connections = 0; cs.name = sharename; cs.Clear = clear; -- cgit