diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-06-05 17:57:07 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-06-05 17:57:07 +1000 |
commit | be3a00bd7305065bccfc014abd34a4e47fea3e27 (patch) | |
tree | 9e2167b21e981ce73e43681f4c789d880f73de83 /ctdb/common/ctdb_util.c | |
parent | ac55bc4166c263c4fe0e0b7dbca803226709f499 (diff) | |
download | samba-be3a00bd7305065bccfc014abd34a4e47fea3e27.tar.gz samba-be3a00bd7305065bccfc014abd34a4e47fea3e27.tar.xz samba-be3a00bd7305065bccfc014abd34a4e47fea3e27.zip |
clean out some more cruft
(This used to be ctdb commit ad16c5fe2748b48a6f6c79976359d56d9bed33f4)
Diffstat (limited to 'ctdb/common/ctdb_util.c')
-rw-r--r-- | ctdb/common/ctdb_util.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ctdb/common/ctdb_util.c b/ctdb/common/ctdb_util.c index 3fbf9882e1..821ae79b3b 100644 --- a/ctdb/common/ctdb_util.c +++ b/ctdb/common/ctdb_util.c @@ -106,17 +106,6 @@ uint32_t ctdb_hash(const TDB_DATA *key) } /* - hash function for a string -*/ -uint32_t ctdb_hash_string(const char *str) -{ - TDB_DATA data; - data.dptr = (uint8_t *)discard_const(str); - data.dsize = strlen(str)+1; - return ctdb_hash(&data); -} - -/* a type checking varient of idr_find */ static void *_idr_find_type(struct idr_context *idp, int id, const char *type, const char *location) |