On Mon, May 04, 2020 at 11:24:52PM +0900, Masahiro Yamada wrote: > This is not used at all. > > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> > --- > > include/common.h | 9 --------- > 1 file changed, 9 deletions(-) Applied, thanks Sascha > > diff --git a/include/common.h b/include/common.h > index d73fc3d13..3570e6aba 100644 > --- a/include/common.h > +++ b/include/common.h > @@ -142,15 +142,6 @@ void barebox_set_hostname_no_overwrite(const char *); > /* > * Check if two regions overlap. returns true if they do, false otherwise > */ > -static inline bool region_overlap(unsigned long starta, unsigned long lena, > - unsigned long startb, unsigned long lenb) > -{ > - if (starta + lena <= startb) > - return 0; > - if (startb + lenb <= starta) > - return 0; > - return 1; > -} > > static inline bool lregion_overlap(loff_t starta, loff_t lena, > loff_t startb, loff_t lenb) > -- > 2.25.1 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 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