summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2013-09-13 11:18:42 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-17 08:48:53 +1300
commit3337a68e32f8453a8b6706fedd56b78740fa665f (patch)
tree97de45971eaf7334d23326cad7933e041e108266 /source3/libsmb
parenta79547cac620eaafd7fabe4264e58eb9276b549d (diff)
downloadsamba-3337a68e32f8453a8b6706fedd56b78740fa665f.tar.gz
samba-3337a68e32f8453a8b6706fedd56b78740fa665f.tar.bz2
samba-3337a68e32f8453a8b6706fedd56b78740fa665f.zip
cli_np_tstream: remove unused tstream_cli_np_get_cli_state()
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_np_tstream.c8
-rw-r--r--source3/libsmb/cli_np_tstream.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index f3a9962f82..8921a7f0bc 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -330,14 +330,6 @@ unsigned int tstream_cli_np_set_timeout(struct tstream_context *stream,
return cli_set_timeout(cli_nps->cli, timeout);
}
-struct cli_state *tstream_cli_np_get_cli_state(struct tstream_context *stream)
-{
- struct tstream_cli_np *cli_nps = tstream_context_data(stream,
- struct tstream_cli_np);
-
- return cli_nps->cli;
-}
-
struct tstream_cli_np_writev_state {
struct tstream_context *stream;
struct tevent_context *ev;
diff --git a/source3/libsmb/cli_np_tstream.h b/source3/libsmb/cli_np_tstream.h
index 5f59d146d4..6f5e855330 100644
--- a/source3/libsmb/cli_np_tstream.h
+++ b/source3/libsmb/cli_np_tstream.h
@@ -43,6 +43,4 @@ NTSTATUS tstream_cli_np_use_trans(struct tstream_context *stream);
unsigned int tstream_cli_np_set_timeout(struct tstream_context *stream,
unsigned int timeout);
-struct cli_state *tstream_cli_np_get_cli_state(struct tstream_context *stream);
-
#endif /* _CLI_NP_TSTREAM_H_ */