This ports the following barebox commit

| commit 870a96a80ba69f2e7d0312a84adecb70bd11ae4a
| Author: Alexander Shiyan <eagle.alexander...@gmail.com>
| 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 <eagle.alexander...@gmail.com>
|     Link: 
https://lore.barebox.org/20220607051957.2497-1-eagle.alexander...@gmail.com
|     Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de>

Signed-off-by: Marco Felsch <m.fel...@pengutronix.de>
---
 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 <common.h>
 #include <common.h>
 #include <crypto/keystore.h>
 #include <digest.h>
@@ -23,7 +22,6 @@
 #include <malloc.h>
 #include <crc.h>
 #include <of.h>
-#include <crc.h>
 
 #include "state.h"
 
-- 
2.30.2


Reply via email to