From d235ce673705641e06b4ad5f5679e146b59a19e1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 7 Jul 2008 16:34:36 +0200 Subject: [PATCH] libcli/raw: remove unused smb_raw_max_trans_data() function metze --- source/libcli/raw/rawtrans.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/source/libcli/raw/rawtrans.c b/source/libcli/raw/rawtrans.c index 7a90236c9cd..2f529863dc9 100644 --- a/source/libcli/raw/rawtrans.c +++ b/source/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); -} -- 2.11.4.GIT