From 42977c5361ef21c99bc157e9c7edbba49243014f Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sat, 3 Aug 2019 09:09:41 +0100 Subject: [PATCH] Remove unused worddb_cmp() from DB4 backend This function was no longer used, so remove it. --- keydb_db4.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/keydb_db4.c b/keydb_db4.c index e63ac07..5e16a40 100644 --- a/keydb_db4.c +++ b/keydb_db4.c @@ -472,12 +472,6 @@ static int db4_fetch_key_id(struct onak_dbctx *dbctx, uint64_t keyid, return (numkeys); } - -int worddb_cmp(const void *d1, const void *d2) -{ - return memcmp(d1, d2, 12); -} - /** * fetch_key_text - Trys to find the keys that contain the supplied text. * @search: The text to search for. -- 2.39.2