From 52a4871ce082b6e9570fd35dd05bf6e653b0adda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Mon, 4 Mar 2024 12:33:41 +0100 Subject: [PATCH] Clean up zfs-tpm1x-clear-key (parse_key_props() is already in main_clear.hpp) --- src/bin/zfs-tpm1x-clear-key.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/zfs-tpm1x-clear-key.cpp b/src/bin/zfs-tpm1x-clear-key.cpp index 2802d06..4770d85 100644 --- a/src/bin/zfs-tpm1x-clear-key.cpp +++ b/src/bin/zfs-tpm1x-clear-key.cpp @@ -2,14 +2,12 @@ #include "../main_clear.hpp" -#include "../tpm1x.hpp" #define THIS_BACKEND "TPM1.X" int main(int argc, char ** argv) { - tpm1x_handle handle{}; // Not like we use this, but for symmetry with the other -clear-keys return do_clear_main( - argc, argv, THIS_BACKEND, [&](auto dataset, auto handle_s) { return parse_key_props(dataset, THIS_BACKEND, handle_s); }, [&] { return 0; }); + argc, argv, THIS_BACKEND, [](auto, auto) { return 0; }, [] { return 0; }); }