summaryrefslogtreecommitdiff
path: root/source3/libsmb
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/libsmb
parent628dd727cf889c0ca04a5b52f22dc39687ad9d53 (diff)
downloadsamba-f60b768df404ec314602be5b5f2a0ba2c5052788.tar.gz
samba-f60b768df404ec314602be5b5f2a0ba2c5052788.tar.bz2
samba-f60b768df404ec314602be5b5f2a0ba2c5052788.zip
s3:smb2cli: remove unused smb2cli_negprot()
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb2cli.h2
-rw-r--r--source3/libsmb/smb2cli_negprot.c30
2 files changed, 0 insertions, 32 deletions
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);
-}
-