mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] parameter: remove unused function global_add_parameter
@ 2012-10-10 10:17 Jan Luebbe
  2012-10-12  7:59 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2012-10-10 10:17 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jan Luebbe <jlu@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-12  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-10 10:17 [PATCH] parameter: remove unused function global_add_parameter Jan Luebbe
2012-10-12  7:59 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox