summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-12 16:18:10 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-13 01:19:51 +0200
commita1c1f8c83b49c46acfaa6ecd4df125828ebc2199 (patch)
treea84713290f324165481c481909e21f248636796b
parentb807c58b655f1ffbf849f5de9eef66136bdb4a52 (diff)
downloadsamba-a1c1f8c83b49c46acfaa6ecd4df125828ebc2199.tar.gz
samba-a1c1f8c83b49c46acfaa6ecd4df125828ebc2199.tar.bz2
samba-a1c1f8c83b49c46acfaa6ecd4df125828ebc2199.zip
s3:libsmb: remove unused cli_smb_inbuf()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 01:19:51 CEST 2011 on sn-devel-104
-rw-r--r--source3/include/async_smb.h1
-rw-r--r--source3/libsmb/async_smb.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index 40da862be2..49a8b9e322 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -33,7 +33,6 @@ struct tevent_req *cli_smb_req_create(TALLOC_CTX *mem_ctx,
NTSTATUS cli_smb_req_send(struct tevent_req *req);
size_t cli_smb_wct_ofs(struct tevent_req **reqs, int num_reqs);
NTSTATUS cli_smb_chain_send(struct tevent_req **reqs, int num_reqs);
-uint8_t *cli_smb_inbuf(struct tevent_req *req);
bool cli_has_async_calls(struct cli_state *cli);
void cli_smb_req_unset_pending(struct tevent_req *req);
bool cli_smb_req_set_pending(struct tevent_req *req);
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index e932ddb101..0493a52a0f 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -950,13 +950,6 @@ NTSTATUS cli_smb_chain_send(struct tevent_req **reqs, int num_reqs)
return NT_STATUS_OK;
}
-uint8_t *cli_smb_inbuf(struct tevent_req *req)
-{
- struct cli_smb_state *state = tevent_req_data(
- req, struct cli_smb_state);
- return state->inbuf;
-}
-
bool cli_has_async_calls(struct cli_state *cli)
{
return ((tevent_queue_length(cli->outgoing) != 0)