[PATCH] parameter: remove unused function global_add_parameter
Sascha Hauer
s.hauer at pengutronix.de
Fri Oct 12 03:59:39 EDT 2012
On Wed, Oct 10, 2012 at 12:17:08PM +0200, Jan Luebbe wrote:
> 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
Applied, thanks
Sascha
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list