diff --git a/source/nmbd/nmbd_winsserver.c b/source/nmbd/nmbd_winsserver.c index d274f6d3d3f..75f93eafde7 100644 --- a/source/nmbd/nmbd_winsserver.c +++ b/source/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. *****************************************************************************/