From db4dd16d8d61883f8b011ae3ea948578ddba8beb Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 5 Mar 2002 00:46:41 +0000 Subject: [PATCH] Removed unused static function. (This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e) --- source3/nmbd/nmbd_winsserver.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index d274f6d3d3f..75f93eafde7 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -133,24 +133,6 @@ static void wins_hook(char *operation, struct name_record *namerec, int ttl) } -/**************************************************************************** -hash our interfaces and netbios names settings -*****************************************************************************/ -static unsigned wins_hash(void) -{ - int i; - unsigned ret = iface_hash(); - extern char **my_netbios_names; - - for (i=0;my_netbios_names[i];i++) - ret ^= str_checksum(my_netbios_names[i]); - - ret ^= str_checksum(lp_workgroup()); - - return ret; -} - - /**************************************************************************** Determine if this packet should be allocated to the WINS server. *****************************************************************************/