From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khTnf-0004cf-Ir for barebox@lists.infradead.org; Tue, 24 Nov 2020 08:35:48 +0000 Date: Tue, 24 Nov 2020 09:35:46 +0100 From: Sascha Hauer Message-ID: <20201124083546.GA14718@pengutronix.de> References: <20201123141239.4896-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201123141239.4896-1-a.fatoum@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] boot: drop uneeded header #includes To: Ahmad Fatoum Cc: barebox@lists.infradead.org On Mon, Nov 23, 2020 at 03:12:39PM +0100, Ahmad Fatoum wrote: > Boot entry providers register themselves, so there is no need for the > common boot code to know about bootchooser or blspec or include their > headers. Remove them as well as other headers that aren't strictly > necessary and, if needed, include headers they include directly. > > Signed-off-by: Ahmad Fatoum > --- > common/boot.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) Applied, thanks Sascha > > diff --git a/common/boot.c b/common/boot.c > index 76d03c26c4f4..28d3de243076 100644 > --- a/common/boot.c > +++ b/common/boot.c > @@ -9,22 +9,19 @@ > * General Public License for more details. > */ > > -#include > -#include > +#include > #include > #include > #include > #include > #include > #include > -#include > #include > -#include > #include > #include > #include > #include > -#include > +#include > > #include > > -- > 2.29.2 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox