diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-10-10 12:17:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-12 09:59:25 +0200 |
commit | 1c0b9f395456465aeb09ec7ede95b58ce4d53e9e (patch) | |
tree | b11cccdf38b3908abf811c874bc5ff9936c6cf13 /include/param.h | |
parent | f562646dc801435c6cd0d693046af615f0d3577b (diff) | |
download | barebox-1c0b9f395456465aeb09ec7ede95b58ce4d53e9e.tar.gz barebox-1c0b9f395456465aeb09ec7ede95b58ce4d53e9e.tar.xz |
parameter: remove unused function global_add_parameter
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/param.h')
-rw-r--r-- | include/param.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/param.h b/include/param.h index a855102d15..e0c415d4f8 100644 --- a/include/param.h +++ b/include/param.h @@ -38,8 +38,6 @@ int dev_param_set_generic(struct device_d *dev, struct param_d *p, /* Convenience functions to handle a parameter as an ip address */ int dev_set_param_ip(struct device_d *dev, char *name, IPaddr_t ip); IPaddr_t dev_get_param_ip(struct device_d *dev, char *name); - -int global_add_parameter(struct param_d *param); #else static inline const char *dev_get_param(struct device_d *dev, const char *name) { @@ -86,11 +84,6 @@ static inline IPaddr_t dev_get_param_ip(struct device_d *dev, char *name) { return 0; } - -static inline int global_add_parameter(struct param_d *param) -{ - return 0; -} #endif #endif /* PARAM_H */ |