summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-01 12:15:41 +0100
committerVolker Lendecke <vl@samba.org>2010-03-01 12:18:12 +0100
commit747a0b440f2a7de390a1a58fe7374c77e65643d0 (patch)
treea9757221ff3891702679cb3dc779f9e0c2c65581 /source3/smbd
parent8448ece9de85f0776513d03cc7542c3b2f30f4b4 (diff)
downloadsamba-747a0b440f2a7de390a1a58fe7374c77e65643d0.tar.gz
samba-747a0b440f2a7de390a1a58fe7374c77e65643d0.tar.bz2
samba-747a0b440f2a7de390a1a58fe7374c77e65643d0.zip
s3: Remove unused "mypid" from count_current_connections() state
Diffstat (limited to 'source3/smbd')
-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;