s4:librpc/rpc: remove unused dcerpc_bind_auth_none()
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Jan 2014 12:18:42 +0000 (13:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:43:20 +0000 (12:43 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_auth.c

index 398cb03da147324d7f346ace7584fdc0e4d239e1..464121a34c74e793ae252be639ac9da599c3ca08 100644 (file)
@@ -177,8 +177,6 @@ NTSTATUS dcerpc_pipe_open_smb(struct dcerpc_pipe *p,
 NTSTATUS dcerpc_pipe_open_smb2(struct dcerpc_pipe *p,
                               struct smb2_tree *tree,
                               const char *pipe_name);
-NTSTATUS dcerpc_bind_auth_none(struct dcerpc_pipe *p,
-                              const struct ndr_interface_table *table);
 NTSTATUS dcerpc_fetch_session_key(struct dcerpc_pipe *p,
                                  DATA_BLOB *session_key);
 struct composite_context;
index 44f3e4a9116cc95505cd92ad41bf1690066fa9f8..8327bde67440051890f77a8f944beb4901cc6d98 100644 (file)
@@ -121,19 +121,6 @@ NTSTATUS dcerpc_bind_auth_none_recv(struct composite_context *ctx)
 }
 
 
-/*
-  Perform sync non-authenticated dcerpc bind
-*/
-_PUBLIC_ NTSTATUS dcerpc_bind_auth_none(struct dcerpc_pipe *p,
-                              const struct ndr_interface_table *table)
-{
-       struct composite_context *ctx;
-
-       ctx = dcerpc_bind_auth_none_send(p, p, table);
-       return dcerpc_bind_auth_none_recv(ctx);
-}
-
-
 struct bind_auth_state {
        struct dcerpc_pipe *pipe;
        struct ndr_syntax_id syntax;