s3-dcerpc: Remove unused function
authorSimo Sorce <idra@samba.org>
Mon, 2 Aug 2010 16:18:58 +0000 (12:18 -0400)
committerSimo Sorce <idra@samba.org>
Tue, 17 Aug 2010 10:33:13 +0000 (06:33 -0400)
source3/rpc_server/srv_pipe.c

index 18414f0642da7e87e938a05e3da92cc70902f840..a30022b23b778bd66a3a798c252436e228969b8c 100644 (file)
@@ -1479,24 +1479,6 @@ static PIPE_RPC_FNS* find_pipe_fns_by_context( PIPE_RPC_FNS *list, uint32 contex
        return NULL;
 }
 
-/****************************************************************************
- Memory cleanup.
-****************************************************************************/
-
-static void free_pipe_rpc_context( PIPE_RPC_FNS *list )
-{
-       PIPE_RPC_FNS *tmp = list;
-       PIPE_RPC_FNS *tmp2;
-
-       while (tmp) {
-               tmp2 = tmp->next;
-               SAFE_FREE(tmp);
-               tmp = tmp2;
-       }
-
-       return; 
-}
-
 static bool api_rpcTNP(struct pipes_struct *p, struct ncacn_packet *pkt,
                       const struct api_struct *api_rpc_cmds, int n_cmds);