summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_smb.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-09-17 07:19:42 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-17 08:48:55 +1300
commitd610339028443f74248aec4bb9b4caa62daa1ff4 (patch)
tree5407c2ee56412d230c7a5381fa2157cad829b6c4 /source4/librpc/rpc/dcerpc_smb.c
parente9998d16689aaee89746a741fcaa1622147a5890 (diff)
downloadsamba-d610339028443f74248aec4bb9b4caa62daa1ff4.tar.gz
samba-d610339028443f74248aec4bb9b4caa62daa1ff4.tar.bz2
samba-d610339028443f74248aec4bb9b4caa62daa1ff4.zip
s4:librpc/rpc: remove unused dcerpc_smb_tree()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc/rpc/dcerpc_smb.c')
-rw-r--r--source4/librpc/rpc/dcerpc_smb.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source4/librpc/rpc/dcerpc_smb.c b/source4/librpc/rpc/dcerpc_smb.c
index c84896f4dc..a9903e5f92 100644
--- a/source4/librpc/rpc/dcerpc_smb.c
+++ b/source4/librpc/rpc/dcerpc_smb.c
@@ -583,21 +583,6 @@ _PUBLIC_ NTSTATUS dcerpc_pipe_open_smb(struct dcerpc_pipe *p,
return dcerpc_pipe_open_smb_recv(ctx);
}
-/*
- return the SMB tree used for a dcerpc over SMB pipe
-*/
-_PUBLIC_ struct smbcli_tree *dcerpc_smb_tree(struct dcecli_connection *c)
-{
- struct smb_private *smb;
-
- if (c->transport.transport != NCACN_NP) return NULL;
-
- smb = talloc_get_type(c->transport.private_data, struct smb_private);
- if (!smb) return NULL;
-
- return smb->tree;
-}
-
struct composite_context *dcerpc_secondary_smb_send(struct dcecli_connection *c1,
struct dcerpc_pipe *p2,
const char *pipe_name)