summaryrefslogtreecommitdiffstats
path: root/common/state/state_variables.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-04-03 22:51:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-04-04 11:48:37 +0200
commit7b3d284f4bad78d61e9f5d32ec5aa1efc19ce733 (patch)
tree1faa1b897902d07399a425ad11c9064f50e44317 /common/state/state_variables.c
parente627903d59b7f7d085e53a0dc9ed942bcc63dff9 (diff)
downloadbarebox-7b3d284f4bad78d61e9f5d32ec5aa1efc19ce733.tar.gz
barebox-7b3d284f4bad78d61e9f5d32ec5aa1efc19ce733.tar.xz
state: remove unused variable type
enum state_variable_type is never used. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state/state_variables.c')
-rw-r--r--common/state/state_variables.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/state/state_variables.c b/common/state/state_variables.c
index fd072a0c27..5b8e6284d9 100644
--- a/common/state/state_variables.c
+++ b/common/state/state_variables.c
@@ -439,31 +439,26 @@ static struct state_variable *state_string_create(struct state *state,
static struct variable_type types[] = {
{
- .type = STATE_TYPE_U8,
.type_name = "uint8",
.export = state_uint32_export,
.import = state_uint32_import,
.create = state_uint8_create,
}, {
- .type = STATE_TYPE_U32,
.type_name = "uint32",
.export = state_uint32_export,
.import = state_uint32_import,
.create = state_uint32_create,
}, {
- .type = STATE_TYPE_ENUM,
.type_name = "enum32",
.export = state_enum32_export,
.import = state_enum32_import,
.create = state_enum32_create,
}, {
- .type = STATE_TYPE_MAC,
.type_name = "mac",
.export = state_mac_export,
.import = state_mac_import,
.create = state_mac_create,
}, {
- .type = STATE_TYPE_STRING,
.type_name = "string",
.export = state_string_export,
.import = state_string_import,