summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-05 00:46:41 +0000
committerTim Potter <tpot@samba.org>2002-03-05 00:46:41 +0000
commitdb4dd16d8d61883f8b011ae3ea948578ddba8beb (patch)
treefb57647624dd3d328630dbeda6171adaf7c690ac /source3/nmbd
parent1d5fb7865d2a8441351668ea43b20a3b64ac232d (diff)
downloadsamba-db4dd16d8d61883f8b011ae3ea948578ddba8beb.tar.gz
samba-db4dd16d8d61883f8b011ae3ea948578ddba8beb.tar.bz2
samba-db4dd16d8d61883f8b011ae3ea948578ddba8beb.zip
Removed unused static function.
(This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_winsserver.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index d274f6d3d3..75f93eafde 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -134,24 +134,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.
*****************************************************************************/