diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-09-11 21:27:37 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-14 12:52:10 +0200 |
commit | a672ca37ab530c3d8c88144ebcd9cb51b8cd9739 (patch) | |
tree | d913d0411dadb35ab382a5b138105cdab5b87836 /include/state.h | |
parent | 215ca50f876d7fc189bfb69ba2a2f5fef38305b1 (diff) | |
download | barebox-a672ca37ab530c3d8c88144ebcd9cb51b8cd9739.tar.gz |
state: drop unused code and declarations for non-existing functions
state_get_name() is not used and so can be removed.
state_backend_dtb_file() and state_backend_raw_file() were dropped in
c999b507da98 ("state: Refactor state framework").
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/state.h')
-rw-r--r-- | include/state.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/state.h b/include/state.h index 4e995a19ef..a49155ef27 100644 --- a/include/state.h +++ b/include/state.h @@ -5,17 +5,12 @@ struct state; -int state_backend_dtb_file(struct state *state, const char *of_path, - const char *path); -int state_backend_raw_file(struct state *state, const char *of_path, - const char *path, off_t offset, size_t size); struct state *state_new_from_node(struct device_node *node, bool readonly); void state_release(struct state *state); struct state *state_by_name(const char *name); struct state *state_by_node(const struct device_node *node); -int state_get_name(const struct state *state, char const **name); int state_load_no_auth(struct state *state); int state_load(struct state *state); |