summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-27 15:44:40 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-27 15:44:40 +0200
commit8fce492ffc0f276d433825ebc1ec4c7ad4c33cfa (patch)
tree1d9d859fd8148a41d10890cf8917851b0463a87d /source4
parent7c4d9fa0e9f45ddf789fe6c90227d8a67273d9d9 (diff)
downloadsamba-8fce492ffc0f276d433825ebc1ec4c7ad4c33cfa.tar.gz
samba-8fce492ffc0f276d433825ebc1ec4c7ad4c33cfa.tar.bz2
samba-8fce492ffc0f276d433825ebc1ec4c7ad4c33cfa.zip
s4:smb_server: remove unused socket_address functions
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/tcon.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source4/smb_server/tcon.c b/source4/smb_server/tcon.c
index f8243a006c..3259ec3799 100644
--- a/source4/smb_server/tcon.c
+++ b/source4/smb_server/tcon.c
@@ -24,22 +24,6 @@
#include "smbd/service_stream.h"
#include "ntvfs/ntvfs.h"
-struct socket_address *smbsrv_get_my_addr(void *p, TALLOC_CTX *mem_ctx)
-{
- struct smbsrv_connection *smb_conn = talloc_get_type(p,
- struct smbsrv_connection);
-
- return socket_get_my_addr(smb_conn->connection->socket, mem_ctx);
-}
-
-struct socket_address *smbsrv_get_peer_addr(void *p, TALLOC_CTX *mem_ctx)
-{
- struct smbsrv_connection *smb_conn = talloc_get_type(p,
- struct smbsrv_connection);
-
- return socket_get_peer_addr(smb_conn->connection->socket, mem_ctx);
-}
-
/****************************************************************************
init the tcon structures
****************************************************************************/