aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-keyboxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-keyboxd.c')
-rw-r--r--g10/call-keyboxd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/g10/call-keyboxd.c b/g10/call-keyboxd.c
index 1bfcae345..5cb6be512 100644
--- a/g10/call-keyboxd.c
+++ b/g10/call-keyboxd.c
@@ -326,20 +326,6 @@ keydb_release (KEYDB_HANDLE hd)
}
-/* Take a lock if we are not using the keyboxd. */
-gpg_error_t
-keydb_lock (KEYDB_HANDLE hd)
-{
- if (!hd)
- return gpg_error (GPG_ERR_INV_ARG);
-
- if (!hd->use_keyboxd)
- return internal_keydb_lock (hd);
-
- return 0;
-}
-
-
/* Return the keyblock last found by keydb_search() in *RET_KB.
*
* On success, the function returns 0 and the caller must free *RET_KB