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 1khCaH-00040A-Ez for barebox@lists.infradead.org; Mon, 23 Nov 2020 14:12:52 +0000 From: Ahmad Fatoum Date: Mon, 23 Nov 2020 15:12:39 +0100 Message-Id: <20201123141239.4896-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 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: [PATCH] boot: drop uneeded header #includes To: barebox@lists.infradead.org Cc: Ahmad Fatoum 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(-) 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