mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3: Remove unused "mypid" from count_current_connections() state
This commit is contained in:
parent
8448ece9de
commit
747a0b440f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user