summaryrefslogtreecommitdiff
path: root/src/veritysetup
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@collabora.com>2020-12-31 06:25:17 -0500
committerGaël PORTAY <gael.portay@collabora.com>2021-01-15 11:06:11 -0500
commit371c8b5d055926b81685e4399e98e8b919e8d13f (patch)
tree1f70891a0f08a5d44d93f1e9feb45d55ac491370 /src/veritysetup
parent08b04ec7e72b7327b4803809732b1b8fce8dd069 (diff)
downloadsystemd-371c8b5d055926b81685e4399e98e8b919e8d13f.tar.gz
veritysetup: remove unused globals
This removes the three global variables arg_root_hash, arg_data_what and arg_hash_what which were presents since the beginning but were never being used.
Diffstat (limited to 'src/veritysetup')
-rw-r--r--src/veritysetup/veritysetup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/veritysetup/veritysetup.c b/src/veritysetup/veritysetup.c
index 1863bdfa32..cd9f0e7f64 100644
--- a/src/veritysetup/veritysetup.c
+++ b/src/veritysetup/veritysetup.c
@@ -15,15 +15,9 @@
#include "string-util.h"
#include "terminal-util.h"
-static char *arg_root_hash = NULL;
-static char *arg_data_what = NULL;
-static char *arg_hash_what = NULL;
static uint32_t arg_activate_flags = CRYPT_ACTIVATE_READONLY;
static char *arg_root_hash_signature = NULL;
-STATIC_DESTRUCTOR_REGISTER(arg_root_hash, freep);
-STATIC_DESTRUCTOR_REGISTER(arg_data_what, freep);
-STATIC_DESTRUCTOR_REGISTER(arg_hash_what, freep);
STATIC_DESTRUCTOR_REGISTER(arg_root_hash_signature, freep);
static int help(void) {