From aa52015d45b530909f20b3e713676007ff6236d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 10 Mar 2021 11:18:49 +0100 Subject: [PATCH] libzfs_crypto.c: remove unused key_locator enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #11866 --- lib/libzfs/libzfs_crypto.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/libzfs/libzfs_crypto.c b/lib/libzfs/libzfs_crypto.c index fe3a0f283..450728c73 100644 --- a/lib/libzfs/libzfs_crypto.c +++ b/lib/libzfs/libzfs_crypto.c @@ -51,12 +51,6 @@ * technically ok if the salt is known to the attacker). */ -typedef enum key_locator { - KEY_LOCATOR_NONE, - KEY_LOCATOR_PROMPT, - KEY_LOCATOR_URI -} key_locator_t; - #define MIN_PASSPHRASE_LEN 8 #define MAX_PASSPHRASE_LEN 512 #define MAX_KEY_PROMPT_ATTEMPTS 3