From 1c0b9f395456465aeb09ec7ede95b58ce4d53e9e Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Wed, 10 Oct 2012 12:17:08 +0200 Subject: parameter: remove unused function global_add_parameter Signed-off-by: Jan Luebbe Signed-off-by: Sascha Hauer --- include/param.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/param.h') 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 */ -- cgit v1.2.3