summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawtrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/raw/rawtrans.c')
-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);
-}