summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.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/nmbd/nmbd.c
parentdab6a35f4cf6a7e8a3c05319e891e06887d63998 (diff)
downloadsamba-2672101cc4fa406ed89647b3d541556e548c10bf.tar.gz
samba-2672101cc4fa406ed89647b3d541556e548c10bf.tar.bz2
samba-2672101cc4fa406ed89647b3d541556e548c10bf.zip
s3: Remove some unused code
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index eaa5055998..446c8933f4 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -460,9 +460,7 @@ static void msg_nmbd_send_packet(struct messaging_context *msg,
p->packet.dgram.header.source_port = 138;
}
- if (store_outstanding_send_packet(p)) {
- send_packet(p);
- }
+ send_packet(p);
}
/**************************************************************************** **
@@ -658,12 +656,6 @@ static void process(void)
if (lp_enhanced_browsing())
sync_all_dmbs(t);
- /*
- * clear the unexpected packet queue
- */
-
- clear_unexpected(t);
-
/* check for new network interfaces */
reload_interfaces(t);