On Mon, Aug 12, 2013 at 12:09:22PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > drop ifdef CONFIG_UIMAGE_MULTI as the Kconfig option is not present anyway > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> Applied both Thanks Sascha > --- > common/uimage.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/common/uimage.c b/common/uimage.c > index 1ac0b7d..ed93a4b 100644 > --- a/common/uimage.c > +++ b/common/uimage.c > @@ -29,17 +29,10 @@ > #include <filetype.h> > #include <memory.h> > > -#ifdef CONFIG_UIMAGE_MULTI > static inline int uimage_is_multi_image(struct uimage_handle *handle) > { > return (handle->header.ih_type == IH_TYPE_MULTI) ? 1 : 0; > } > -#else > -static inline int uimage_is_multi_image(struct uimage_handle *handle) > -{ > - return 0; > -} > -#endif > > void uimage_print_contents(struct uimage_handle *handle) > { > -- > 1.8.4.rc1 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox