s3:libsmb: remove unused reference to talloc_tos()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 May 2012 10:04:12 +0000 (12:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 6 May 2012 12:50:38 +0000 (14:50 +0200)
metze

source3/libsmb/smb2cli_close.c
source3/libsmb/smb2cli_flush.c
source3/libsmb/smb2cli_tcon.c
source3/libsmb/smb2cli_write.c

index e6b907377fe9ea9522ed4b801aa7cde8a4132e5a..246d9048b6838c1ce2012efd62e9571709e12150 100644 (file)
@@ -74,7 +74,6 @@ static void smb2cli_close_done(struct tevent_req *subreq)
                tevent_req_callback_data(subreq,
                struct tevent_req);
        NTSTATUS status;
-       struct iovec *iov;
        static const struct smb2cli_req_expected_response expected[] = {
        {
                .status = NT_STATUS_OK,
@@ -82,7 +81,7 @@ static void smb2cli_close_done(struct tevent_req *subreq)
        }
        };
 
-       status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+       status = smb2cli_req_recv(subreq, NULL, NULL,
                                  expected, ARRAY_SIZE(expected));
        if (tevent_req_nterror(req, status)) {
                return;
index d46eeedbf5345e4861d66ace387bca0c3396238e..738af242245125d92d7712e9ff9d05cace16cf3c 100644 (file)
@@ -72,7 +72,6 @@ static void smb2cli_flush_done(struct tevent_req *subreq)
                tevent_req_callback_data(subreq,
                struct tevent_req);
        NTSTATUS status;
-       struct iovec *iov;
        static const struct smb2cli_req_expected_response expected[] = {
        {
                .status = NT_STATUS_OK,
@@ -80,7 +79,7 @@ static void smb2cli_flush_done(struct tevent_req *subreq)
        }
        };
 
-       status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+       status = smb2cli_req_recv(subreq, NULL, NULL,
                                  expected, ARRAY_SIZE(expected));
        if (tevent_req_nterror(req, status)) {
                return;
index 731a6102cb1979d351cb4f11bfd126f03cca881f..c22373994ca3d890d7459de4b3ed31addbc99429 100644 (file)
@@ -215,7 +215,6 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
                tevent_req_data(req,
                struct smb2cli_tdis_state);
        NTSTATUS status;
-       struct iovec *iov;
        static const struct smb2cli_req_expected_response expected[] = {
        {
                .status = NT_STATUS_OK,
@@ -223,7 +222,7 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
        }
        };
 
-       status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+       status = smb2cli_req_recv(subreq, NULL, NULL,
                                  expected, ARRAY_SIZE(expected));
        TALLOC_FREE(subreq);
        if (tevent_req_nterror(req, status)) {
index e4da6c8159b39d10871300322ed461e70dc6e5b0..3d7b667a5050a464ebc1d60cc62d0b3ea269c716 100644 (file)
@@ -95,7 +95,6 @@ static void smb2cli_write_done(struct tevent_req *subreq)
                tevent_req_callback_data(subreq,
                struct tevent_req);
        NTSTATUS status;
-       struct iovec *iov;
        static const struct smb2cli_req_expected_response expected[] = {
        {
                .status = NT_STATUS_OK,
@@ -103,7 +102,7 @@ static void smb2cli_write_done(struct tevent_req *subreq)
        }
        };
 
-       status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+       status = smb2cli_req_recv(subreq, NULL, NULL,
                                  expected, ARRAY_SIZE(expected));
        if (tevent_req_nterror(req, status)) {
                return;