summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-07 16:34:36 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-07 20:59:18 +0200
commit997f539bf568f555f9e7a7f51de23cd13c732b1c (patch)
tree7c793e62f27a08448022515360f73b2a95f3741b /source4
parentbbbe06fb096bf7dfbfc406594a98607544d00805 (diff)
downloadsamba-997f539bf568f555f9e7a7f51de23cd13c732b1c.tar.gz
samba-997f539bf568f555f9e7a7f51de23cd13c732b1c.tar.bz2
samba-997f539bf568f555f9e7a7f51de23cd13c732b1c.zip
libcli/raw: remove unused smb_raw_max_trans_data() function
metze (This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/rawtrans.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/libcli/raw/rawtrans.c b/source4/libcli/raw/rawtrans.c
index 7a90236c9c..2f529863dc 100644
--- a/source4/libcli/raw/rawtrans.c
+++ b/source4/libcli/raw/rawtrans.c
@@ -959,15 +959,3 @@ NTSTATUS smb_raw_nttrans(struct smbcli_tree *tree,
return smb_raw_nttrans_recv(req, mem_ctx, parms);
}
-
-/*
- work out the maximum data size for a trans request while avoiding
- multi-part replies
-
- TODO: we only need to avoid multi-part replies because the
- multi-part trans receive code is broken.
-*/
-_PUBLIC_ size_t smb_raw_max_trans_data(struct smbcli_tree *tree, size_t param_size)
-{
- return tree->session->transport->negotiate.max_xmit - (70 + param_size);
-}