From 997f539bf568f555f9e7a7f51de23cd13c732b1c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 7 Jul 2008 16:34:36 +0200 Subject: libcli/raw: remove unused smb_raw_max_trans_data() function metze (This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1) --- source4/libcli/raw/rawtrans.c | 12 ------------ 1 file changed, 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); -} -- cgit