s3:smb2cli: remove unused smb2cli_negprot()
authorStefan Metzmacher <metze@samba.org>
Sat, 17 Sep 2011 22:11:54 +0000 (00:11 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Nov 2011 18:02:32 +0000 (19:02 +0100)
metze

source3/Makefile.in
source3/libsmb/smb2cli.h
source3/libsmb/smb2cli_negprot.c [deleted file]
source3/wscript_build

index b7184a064fae3bd87eb992660ec271b02884d258..8e37011b17ab5607edd4990b53d78deac3e7fbf0 100644 (file)
@@ -608,7 +608,6 @@ LIBSMB_OBJ = libsmb/clientgen.o libsmb/cliconnect.o libsmb/clifile.o \
             ../libcli/smb/smb_seal.o \
             ../libcli/smb/read_smb.o \
             ../libcli/smb/smbXcli_base.o \
-            libsmb/smb2cli_negprot.o \
             libsmb/smb2cli_session.o \
             libsmb/smb2cli_tcon.o \
             libsmb/smb2cli_create.o \
index de87bf26dae7b1fd9d9f95fb3f52c5cb6f27b5c6..a022c86d5bd5a11f5aa8ab400f6ede3c591415ef 100644 (file)
@@ -24,8 +24,6 @@ struct smbXcli_conn;
 struct smbXcli_session;
 struct cli_state;
 
-NTSTATUS smb2cli_negprot(struct cli_state *cli);
-
 struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx,
                                struct tevent_context *ev,
                                struct smbXcli_conn *conn,
diff --git a/source3/libsmb/smb2cli_negprot.c b/source3/libsmb/smb2cli_negprot.c
deleted file mode 100644 (file)
index 0e3bceb..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-   Unix SMB/CIFS implementation.
-   smb2 lib
-   Copyright (C) Volker Lendecke 2011
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "includes.h"
-#include "client.h"
-#include "../libcli/smb/smbXcli_base.h"
-#include "smb2cli.h"
-
-NTSTATUS smb2cli_negprot(struct cli_state *cli)
-{
-       return smbXcli_negprot(cli->conn, cli->timeout,
-                              PROTOCOL_SMB2_02, PROTOCOL_SMB2_02);
-}
-
index 034a54dd9b9be0d06240d3b2bb8dd193a0df5e5c..43d121a8dd8c88063d0371c7eb8105d1703b6bb7 100755 (executable)
@@ -127,7 +127,6 @@ LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
              libsmb/clioplock.c libsmb/clirap2.c
              libsmb/async_smb.c
              libsmb/clisigning.c
-             libsmb/smb2cli_negprot.c
              libsmb/smb2cli_session.c
              libsmb/smb2cli_tcon.c
              libsmb/smb2cli_create.c