From f60b768df404ec314602be5b5f2a0ba2c5052788 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 18 Sep 2011 00:11:54 +0200 Subject: s3:smb2cli: remove unused smb2cli_negprot() metze --- source3/libsmb/smb2cli.h | 2 -- source3/libsmb/smb2cli_negprot.c | 30 ------------------------------ 2 files changed, 32 deletions(-) delete mode 100644 source3/libsmb/smb2cli_negprot.c (limited to 'source3/libsmb') 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 . -*/ - -#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); -} - -- cgit