diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-20 15:26:06 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-20 16:41:32 +0100 |
commit | 520f88143bd894f6aea38bb9adae5a1165a8720e (patch) | |
tree | 633afa5557e2da3ee9f98937a06c02258f4e6ae5 /source3 | |
parent | b8b6cddb29b51dcbe0d352c1ce780804ee0664fd (diff) | |
download | samba-520f88143bd894f6aea38bb9adae5a1165a8720e.tar.gz samba-520f88143bd894f6aea38bb9adae5a1165a8720e.tar.bz2 samba-520f88143bd894f6aea38bb9adae5a1165a8720e.zip |
Remove some unused code
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 13 | ||||
-rw-r--r-- | source3/smbd/server.c | 3 |
3 files changed, 0 insertions, 17 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index e3d93494ff..4efcbba6a8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6223,7 +6223,6 @@ bool api_pipe_request(pipes_struct *p); pipes_struct *get_first_internal_pipe(void); pipes_struct *get_next_internal_pipe(pipes_struct *p); -void init_rpc_pipe_hnd(void); bool fsp_is_np(struct files_struct *fsp); NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name, diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index cbb6a8f4bf..0753476230 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -28,7 +28,6 @@ static int pipes_open; static pipes_struct *InternalPipes; -static struct bitmap *bmap; /* TODO * the following prototypes are declared here to avoid @@ -57,18 +56,6 @@ pipes_struct *get_next_internal_pipe(pipes_struct *p) } /**************************************************************************** - Initialise pipe handle states. -****************************************************************************/ - -void init_rpc_pipe_hnd(void) -{ - bmap = bitmap_allocate(MAX_OPEN_PIPES); - if (!bmap) { - exit_server("out of memory in init_rpc_pipe_hnd"); - } -} - -/**************************************************************************** Initialise an outgoing packet. ****************************************************************************/ diff --git a/source3/smbd/server.c b/source3/smbd/server.c index a884914839..42c37f2056 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1008,9 +1008,6 @@ static bool init_structs(void ) file_init(); - /* for RPC pipes */ - init_rpc_pipe_hnd(); - init_dptrs(); if (!secrets_init()) |