summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-18 00:11:54 +0200
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:32 +0100
commitf60b768df404ec314602be5b5f2a0ba2c5052788 (patch)
tree054348496cf53f03f4e3828174ff7d2d57dab8b9 /source3
parent628dd727cf889c0ca04a5b52f22dc39687ad9d53 (diff)
downloadsamba-f60b768df404ec314602be5b5f2a0ba2c5052788.tar.gz
samba-f60b768df404ec314602be5b5f2a0ba2c5052788.tar.bz2
samba-f60b768df404ec314602be5b5f2a0ba2c5052788.zip
s3:smb2cli: remove unused smb2cli_negprot()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in1
-rw-r--r--source3/libsmb/smb2cli.h2
-rw-r--r--source3/libsmb/smb2cli_negprot.c30
-rwxr-xr-xsource3/wscript_build1
4 files changed, 0 insertions, 34 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b7184a064f..8e37011b17 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -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 \
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h
index de87bf26da..a022c86d5b 100644
--- a/source3/libsmb/smb2cli.h
+++ b/source3/libsmb/smb2cli.h
@@ -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
index 0e3bcebeaa..0000000000
--- a/source3/libsmb/smb2cli_negprot.c
+++ /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);
-}
-
diff --git a/source3/wscript_build b/source3/wscript_build
index 034a54dd9b..43d121a8dd 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -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