Skip to contentSkip to conversation

crc32: Drop duplicates crc header includes

PATCH In review Ilya Lukin 2 participants 2 messages Jul 14, 2023 – Aug 9, 2023

Subsystems (2)
lore
Share & tools
lore

Ilya Lukin

author
#0 lore raw

PATCH 1/1 crc32: Drop duplicates crc header includes

Fixes 3db711085752 ("crc32: Use the crc.h header for crc functions")
---
 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(-)
board/sunxi/board.c +0 -1
index f321cd58a6..de0f3505e5 100644
@@ -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
boot/android_ab.c +0 -1
index 2d7b392666..271df273e1 100644
@@ -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.
common/hash.c +0 -1
index 9a52d6073c..7d8ec75318 100644
@@ -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>
lib/crc32.c +0 -1
index aa94d70ef3..f6fad8c15d 100644
@@ -10,7 +10,6 @@
 
 #ifdef USE_HOSTCC
 #include <arpa/inet.h>
-#include <u-boot/crc.h>
 #else
 #include <common.h>
 #include <efi_loader.h>
tools/default_image.c +0 -1
index 0e49ab3301..04bc85bf93 100644
@@ -15,7 +15,6 @@
 
 #include "imagetool.h"
 #include "mkimage.h"
-#include <u-boot/crc.h>
 
 #include <image.h>
 #include <tee/optee.h>
Signature · 1 line
2.40.1
#1 lore raw
Quoted 2 lines · Ilya Lukin
Fixes 3db711085752 ("crc32: Use the crc.h header for crc functions")

Applied to u-boot/next, thanks!

Signature · 1 line
Tom