diff options
author | Volker Lendecke <vl@samba.org> | 2010-03-01 12:15:41 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-03-01 12:18:12 +0100 |
commit | 747a0b440f2a7de390a1a58fe7374c77e65643d0 (patch) | |
tree | a9757221ff3891702679cb3dc779f9e0c2c65581 | |
parent | 8448ece9de85f0776513d03cc7542c3b2f30f4b4 (diff) | |
download | samba-747a0b440f2a7de390a1a58fe7374c77e65643d0.tar.gz samba-747a0b440f2a7de390a1a58fe7374c77e65643d0.tar.bz2 samba-747a0b440f2a7de390a1a58fe7374c77e65643d0.zip |
s3: Remove unused "mypid" from count_current_connections() state
-rw-r--r-- | source3/smbd/connection.c | 2 |
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; |