From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 14 Oct 2022 18:42:13 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ojNlG-008iDN-EL for lore@lore.pengutronix.de; Fri, 14 Oct 2022 18:42:13 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ojNlD-0006Ii-3X; Fri, 14 Oct 2022 18:42:11 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojNlA-0006F6-F1; Fri, 14 Oct 2022 18:42:08 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ojNl9-001WTd-It; Fri, 14 Oct 2022 18:42:07 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ojNl8-00FzpF-KX; Fri, 14 Oct 2022 18:42:06 +0200 From: Marco Felsch To: oss-tools@pengutronix.de Date: Fri, 14 Oct 2022 18:41:51 +0200 Message-Id: <20221014164204.3812506-2-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221014164204.3812506-1-m.felsch@pengutronix.de> References: <20221014164204.3812506-1-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [OSS-Tools] [PATCH dt-utils 01/14] state: Remove duplicate incudes X-BeenThere: oss-tools@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mfe@pengutronix.de Sender: "OSS-Tools" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: oss-tools-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false This ports the following barebox commit | commit 870a96a80ba69f2e7d0312a84adecb70bd11ae4a | Author: Alexander Shiyan | Date: Tue Jun 7 08:19:57 2022 +0300 | | treewide: Remove duplicate incudes | | Fix warning fwterated by checkincludes.pl: | ./net/nfs.c: libgen.h is included more than once. | ./net/ifup.c: globalvar.h is included more than once. | ./crypto/rsa.c: asm/types.h is included more than once. | ./lib/decompress_unlz4.c: linux/decompress/mm.h is included more than once. | ./scripts/stb_image.h: stdio.h is included more than once. | ./scripts/kwbimage.c: unistd.h is included more than once. | ./scripts/common.c: sys/types.h is included more than once. | ./scripts/bareboximd.c: sys/types.h is included more than once. | ./scripts/bareboximd.c: sys/mman.h is included more than once. | ./fs/pstore/ram_core.c: linux/rslib.h is included more than once. | ./fs/pstore/fs.c: fs.h is included more than once. | ./fs/pstore/fs.c: linux/pstore.h is included more than once. | ./fs/nfs.c: fs.h is included more than once. | ./fs/uimagefs.c: fs.h is included more than once. | ./fs/fs.c: command.h is included more than once. | ./arch/sandbox/board/hostfile.c: linux/err.h is included more than once. | ./arch/sandbox/board/devices.c: mach/linux.h is included more than once. | ./arch/sandbox/os/common.c: signal.h is included more than once. | ./arch/arm/boards/zii-imx51-rdu1/board.c: envfs.h is included more than once. | ./arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c: generated/mach-types.h is | ./arch/arm/mach-stm32mp/ddrctrl.c: mach/stm32.h is included more than once. | ./arch/arm/mach-imx/cpu_init.c: common.h is included more than once. | ./arch/arm/mach-imx/imx8m.c: mach/imx8m-ccm-regs.h is included more than once. | ./common/efi/payload/init.c: efi.h is included more than once. | ./common/state/backend_format_raw.c: common.h is included more than once. | ./common/state/backend_format_raw.c: crc.h is included more than once. | ./common/hush.c: libbb.h is included more than once. | ./drivers/spi/atmel-quadspi.c: linux/clk.h is included more than once. | ./drivers/spi/atmel-quadspi.c: linux/err.h is included more than once. | ./drivers/net/virtio.c: net.h is included more than once. | ./drivers/net/phy/phy.c: linux/phy.h is included more than once. | ./drivers/net/cpsw.c: net.h is included more than once. | ./drivers/virtio/virtio_pci_common.h: linux/list.h is included more than once. | ./drivers/usb/host/ohci-hcd.c: dma.h is included more than once. | ./drivers/usb/gadget/fsl_udc.c: dma.h is included more than once. | ./drivers/nvmem/eeprom_93xx46.c: spi/spi.h is included more than once. | ./drivers/nvmem/eeprom_93xx46.c: of.h is included more than once. | ./drivers/video/imx-ipu-v3/imx-ldb.c: linux/clk.h is included more than once. | ./drivers/video/imx-ipu-v3/imx-hdmi.c: linux/clk.h is included more than once. | ./drivers/video/omap.c: common.h is included more than once. | ./drivers/mtd/nand/nand_s3c24xx.c: asm/sections.h is included more than once. | ./drivers/clk/imx/clk-imx6sx.c: linux/clk.h is included more than once. | ./drivers/clk/imx/clk-imx6sl.c: linux/clk.h is included more than once. | ./commands/bootm.c: of.h is included more than once. | | Signed-off-by: Alexander Shiyan | Link: https://lore.barebox.org/20220607051957.2497-1-eagle.alexander923@gmail.com | Signed-off-by: Sascha Hauer Signed-off-by: Marco Felsch --- src/barebox-state/backend_format_raw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/barebox-state/backend_format_raw.c b/src/barebox-state/backend_format_raw.c index 5a71149..9fade5d 100644 --- a/src/barebox-state/backend_format_raw.c +++ b/src/barebox-state/backend_format_raw.c @@ -15,7 +15,6 @@ * */ -#include #include #include #include @@ -23,7 +22,6 @@ #include #include #include -#include #include "state.h" -- 2.30.2