From 346a8d1bdcb5e69f608e9e6859e36798f3d43abe Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 20 Jul 2008 18:46:13 +0200 Subject: Remove now unused cli_get_pipe_idx (This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06) --- source3/rpc_client/cli_pipe.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index b969b83e4f..3f27a89fc4 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -106,21 +106,6 @@ const char *cli_get_pipe_name_from_iface(TALLOC_CTX *mem_ctx, return NULL; } -/**************************************************************************** - Return the pipe idx from the syntax. - ****************************************************************************/ -int cli_get_pipe_idx(const RPC_IFACE *syntax) -{ - int i; - for (i = 0; pipe_names[i].client_pipe; i++) { - if (ndr_syntax_id_equal(pipe_names[i].abstr_syntax, syntax)) { - return i; - } - } - - return -1; -} - /******************************************************************** Map internal value to wire value. ********************************************************************/ -- cgit