diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-06 18:28:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-11 11:48:35 +0200 |
commit | a28085859402eecb4b2d9a051b1956e17f29e0aa (patch) | |
tree | fb84f5e828f592e339bcd51155b414536f65da84 /include/param.h | |
parent | 21a2691f06a9b92cbdf2bc0470f4aa6016620774 (diff) | |
download | barebox-a28085859402eecb4b2d9a051b1956e17f29e0aa.tar.gz barebox-a28085859402eecb4b2d9a051b1956e17f29e0aa.tar.xz |
param: remove now unused dev_[gs]et_param_ip
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/param.h')
-rw-r--r-- | include/param.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/param.h b/include/param.h index 66c57a9b6d..3c881d7804 100644 --- a/include/param.h +++ b/include/param.h @@ -57,10 +57,6 @@ void dev_remove_parameters(struct device_d *dev); int dev_param_set_generic(struct device_d *dev, struct param_d *p, const char *val); -/* 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); - #else static inline const char *dev_get_param(struct device_d *dev, const char *name) { @@ -129,17 +125,6 @@ static inline int dev_param_set_generic(struct device_d *dev, struct param_d *p, { return 0; } - -/* Convenience functions to handle a parameter as an ip address */ -static inline int dev_set_param_ip(struct device_d *dev, char *name, IPaddr_t ip) -{ - return 0; -} -static inline IPaddr_t dev_get_param_ip(struct device_d *dev, char *name) -{ - return 0; -} #endif #endif /* PARAM_H */ - |