summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-05 14:50:21 +0100
committerVolker Lendecke <vl@samba.org>2011-01-07 13:28:07 +0100
commit2672101cc4fa406ed89647b3d541556e548c10bf (patch)
treef5e59f1156f176ee811f6ad56db93a185e4f5a08 /source3/libsmb/namequery.c
parentdab6a35f4cf6a7e8a3c05319e891e06887d63998 (diff)
downloadsamba-2672101cc4fa406ed89647b3d541556e548c10bf.tar.gz
samba-2672101cc4fa406ed89647b3d541556e548c10bf.tar.bz2
samba-2672101cc4fa406ed89647b3d541556e548c10bf.zip
s3: Remove some unused code
Diffstat (limited to 'source3/libsmb/namequery.c')
-rw-r--r--source3/libsmb/namequery.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index ab98a12146..e7dd22ad10 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -658,32 +658,6 @@ static NTSTATUS nb_trans_recv(struct tevent_req *req,
}
/****************************************************************************
- Try and send a request to nmbd to send a packet_struct packet first.
- If this fails, use send_packet().
-**************************************************************************/
-
-static bool send_packet_request(struct packet_struct *p)
-{
- struct messaging_context *msg_ctx = server_messaging_context();
- if (msg_ctx) {
- pid_t nmbd_pid = pidfile_pid("nmbd");
-
- if (nmbd_pid) {
- /* Try nmbd. */
- if (NT_STATUS_IS_OK(messaging_send_buf(msg_ctx,
- pid_to_procid(nmbd_pid),
- MSG_SEND_PACKET,
- (uint8_t *)p,
- sizeof(struct packet_struct)))) {
- return true;
- }
- }
- }
-
- return send_packet(p);
-}
-
-/****************************************************************************
Do a NBT node status query on an open socket and return an array of
structures holding the returned names or NULL if the query failed.
**************************************************************************/