summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/connection.c2
1 files changed, 0 insertions, 2 deletions
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;