summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-16 21:02:26 +0100
committerVolker Lendecke <vl@samba.org>2009-03-16 21:05:02 +0100
commit8a2b7b3e56230c46df9ae3820578a2f3e765d32d (patch)
treec758758dd07faeab3acb13c55647ee362cb9236c /source3/lib
parent05b49fd4c8aaf779b98eb2eabb860295dc1300b9 (diff)
downloadsamba-8a2b7b3e56230c46df9ae3820578a2f3e765d32d.tar.gz
samba-8a2b7b3e56230c46df9ae3820578a2f3e765d32d.tar.bz2
samba-8a2b7b3e56230c46df9ae3820578a2f3e765d32d.zip
Remove unused async_req references from wb_reqtrans.c
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/wb_reqtrans.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/source3/lib/wb_reqtrans.c b/source3/lib/wb_reqtrans.c
index e1c67491c0..dbea8b6686 100644
--- a/source3/lib/wb_reqtrans.c
+++ b/source3/lib/wb_reqtrans.c
@@ -25,32 +25,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
-bool async_req_is_wbcerr(struct async_req *req, wbcErr *pwbc_err)
-{
- enum async_req_state state;
- uint64_t error;
- if (!async_req_is_error(req, &state, &error)) {
- *pwbc_err = WBC_ERR_SUCCESS;
- return false;
- }
-
- switch (state) {
- case ASYNC_REQ_USER_ERROR:
- *pwbc_err = error;
- break;
- case ASYNC_REQ_TIMED_OUT:
- *pwbc_err = WBC_ERR_UNKNOWN_FAILURE;
- break;
- case ASYNC_REQ_NO_MEMORY:
- *pwbc_err = WBC_ERR_NO_MEMORY;
- break;
- default:
- *pwbc_err = WBC_ERR_UNKNOWN_FAILURE;
- break;
- }
- return true;
-}
-
wbcErr map_wbc_err_from_errno(int error)
{
switch(error) {
@@ -65,17 +39,6 @@ wbcErr map_wbc_err_from_errno(int error)
}
}
-wbcErr async_req_simple_recv_wbcerr(struct async_req *req)
-{
- wbcErr wbc_err;
-
- if (async_req_is_wbcerr(req, &wbc_err)) {
- return wbc_err;
- }
-
- return WBC_ERR_SUCCESS;
-}
-
bool tevent_req_is_wbcerr(struct tevent_req *req, wbcErr *pwbc_err)
{
enum tevent_req_state state;