summaryrefslogtreecommitdiffstats
path: root/common/state/state.h
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2020-01-23 13:20:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-01-27 10:57:42 +0100
commit8718fd1f0508ed694569df212333fff9a22b5303 (patch)
treefb8bfaec85cff32edbce14e90ba5a8b75fb438db /common/state/state.h
parent7085927d0835f15d1388e8d51f53cc85872a21cc (diff)
downloadbarebox-8718fd1f0508ed694569df212333fff9a22b5303.tar.gz
barebox-8718fd1f0508ed694569df212333fff9a22b5303.tar.xz
state: remove param member from state_uint32, state_enum32, state_mac
After adding the parameter, the pointer isn't required anymore. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state/state.h')
-rw-r--r--common/state/state.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/state/state.h b/common/state/state.h
index 40450feff0..1881d92ea7 100644
--- a/common/state/state.h
+++ b/common/state/state.h
@@ -159,7 +159,6 @@ struct state_variable {
*/
struct state_uint32 {
struct state_variable var;
- struct param_d *param;
uint32_t value;
uint32_t value_default;
};
@@ -169,7 +168,6 @@ struct state_uint32 {
*/
struct state_enum32 {
struct state_variable var;
- struct param_d *param;
uint32_t value;
uint32_t value_default;
const char **names;
@@ -181,7 +179,6 @@ struct state_enum32 {
*/
struct state_mac {
struct state_variable var;
- struct param_d *param;
uint8_t value[6];
uint8_t value_default[6];
};