From 1a549c8961a6db72db374a4db2be598b30c9c46d Mon Sep 17 00:00:00 2001
From: Ilya Lukin <4.shket@gmail.com>
Date: Fri, 14 Jul 2023 17:39:32 +0300
Subject: [PATCH] crc32: Drop duplicates crc header includes

Fixes: 3db711085752 ("crc32: Use the crc.h header for crc functions")
Signed-off-by: Ilya Lukin <4.shket@gmail.com>
---
 board/sunxi/board.c   | 1 -
 boot/android_ab.c     | 1 -
 common/hash.c         | 1 -
 lib/crc32.c           | 1 -
 tools/default_image.c | 1 -
 5 files changed, 5 deletions(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index f321cd58a6..de0f3505e5 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -33,7 +33,6 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
-#include <u-boot/crc.h>
 #ifndef CONFIG_ARM64
 #include <asm/armv7.h>
 #endif
diff --git a/boot/android_ab.c b/boot/android_ab.c
index 73b55c196c..0f20a34e51 100644
--- a/boot/android_ab.c
+++ b/boot/android_ab.c
@@ -12,7 +12,6 @@
 #include <memalign.h>
 #include <linux/err.h>
 #include <u-boot/crc.h>
-#include <u-boot/crc.h>
 
 /**
  * Compute the CRC-32 of the bootloader control struct.
diff --git a/common/hash.c b/common/hash.c
index cbffdfd6db..159179e7f2 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -21,7 +21,6 @@
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <linux/errno.h>
-#include <u-boot/crc.h>
 #else
 #include "mkimage.h"
 #include <linux/compiler_attributes.h>
diff --git a/lib/crc32.c b/lib/crc32.c
index aa94d70ef3..f6fad8c15d 100644
--- a/lib/crc32.c
+++ b/lib/crc32.c
@@ -10,7 +10,6 @@
 
 #ifdef USE_HOSTCC
 #include <arpa/inet.h>
-#include <u-boot/crc.h>
 #else
 #include <common.h>
 #include <efi_loader.h>
diff --git a/tools/default_image.c b/tools/default_image.c
index 0e49ab3301..04bc85bf93 100644
--- a/tools/default_image.c
+++ b/tools/default_image.c
@@ -15,7 +15,6 @@
 
 #include "imagetool.h"
 #include "mkimage.h"
-#include <u-boot/crc.h>
 
 #include <image.h>
 #include <tee/optee.h>
-- 
2.39.5