Clean up zfs-tpm1x-clear-key (parse_key_props() is already in main_clear.hpp)

This commit is contained in:
наб 2024-03-04 12:33:41 +01:00
parent 984c5d5354
commit 52a4871ce0
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

View File

@ -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; });
}