From b88d649e401078a74103a78205f2c324a86eaafb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 26 Apr 2012 14:05:40 +0200 Subject: s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing() metze --- source3/libsmb/cli_np_tstream.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'source3/libsmb/cli_np_tstream.c') diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c index 37fd68affd..7511c39586 100644 --- a/source3/libsmb/cli_np_tstream.c +++ b/source3/libsmb/cli_np_tstream.c @@ -1047,29 +1047,3 @@ static const struct tstream_context_ops tstream_cli_np_ops = { .disconnect_send = tstream_cli_np_disconnect_send, .disconnect_recv = tstream_cli_np_disconnect_recv, }; - -NTSTATUS _tstream_cli_np_existing(TALLOC_CTX *mem_ctx, - struct cli_state *cli, - uint16_t fnum, - struct tstream_context **_stream, - const char *location) -{ - struct tstream_context *stream; - struct tstream_cli_np *cli_nps; - - stream = tstream_context_create(mem_ctx, - &tstream_cli_np_ops, - &cli_nps, - struct tstream_cli_np, - location); - if (!stream) { - return NT_STATUS_NO_MEMORY; - } - ZERO_STRUCTP(cli_nps); - - cli_nps->cli = cli; - cli_nps->fnum = fnum; - - *_stream = stream; - return NT_STATUS_OK; -} -- cgit