[PATCH] parameter: remove unused function global_add_parameter
Jan Luebbe
jlu at pengutronix.de
Wed Oct 10 06:17:08 EDT 2012
Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
---
include/param.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/param.h b/include/param.h
index a855102..e0c415d 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 */
--
1.7.10.4
More information about the barebox
mailing list