summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-01 16:05:49 +0200
committerVolker Lendecke <vl@samba.org>2008-08-01 20:46:10 +0200
commit711efc06c82349faa979c3653226f4e944f59d18 (patch)
treec2a51da83341d85182fe7632bfd25ab7b1a084ab
parentbf622cb8766fa3d66d597d3cf0971b081a8089dc (diff)
downloadsamba-711efc06c82349faa979c3653226f4e944f59d18.tar.gz
samba-711efc06c82349faa979c3653226f4e944f59d18.tar.bz2
samba-711efc06c82349faa979c3653226f4e944f59d18.zip
cli_request_new() already gave use the req, remove a pointless function call
(This used to be commit 08e97bd369ebe3ab1fd92433b168585faea92c68)
-rw-r--r--source3/libsmb/clireadwrite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c
index 057e647983..a57f1e0785 100644
--- a/source3/libsmb/clireadwrite.c
+++ b/source3/libsmb/clireadwrite.c
@@ -62,8 +62,6 @@ struct async_req *cli_read_andx_send(TALLOC_CTX *mem_ctx,
return NULL;
}
- req = cli_request_get(result);
-
req->data.read.ofs = offset;
req->data.read.size = size;
req->data.read.received = 0;