diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-05 14:50:21 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-01-07 13:28:07 +0100 |
commit | 2672101cc4fa406ed89647b3d541556e548c10bf (patch) | |
tree | f5e59f1156f176ee811f6ad56db93a185e4f5a08 /source3/libsmb/namequery.c | |
parent | dab6a35f4cf6a7e8a3c05319e891e06887d63998 (diff) | |
download | samba-2672101cc4fa406ed89647b3d541556e548c10bf.tar.gz samba-2672101cc4fa406ed89647b3d541556e548c10bf.tar.xz samba-2672101cc4fa406ed89647b3d541556e548c10bf.zip |
s3: Remove some unused code
Diffstat (limited to 'source3/libsmb/namequery.c')
-rw-r--r-- | source3/libsmb/namequery.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index ab98a12146e..e7dd22ad108 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. **************************************************************************/ |