Skip to contentSkip to conversation

x86, hibernate: Remove inclusion of crypto/hash.h

PATCH Applied Eric Biggers 2 participants 2 messages Mar 14 – Mar 19

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86, hibernate: Remove inclusion of crypto/hash.h

hibernate_64.c does not do any cryptographic hashing, so the header crypto/hash.h is not needed at all.

---
 arch/x86/power/hibernate_64.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/power/hibernate_64.c +0 -2
index a595953f1d6d8..e72d26acae797 100644
@@ -12,12 +12,10 @@
 #include <linux/suspend.h>
 #include <linux/scatterlist.h>
 #include <linux/kdebug.h>
 #include <linux/pgtable.h>
 
-#include <crypto/hash.h>
-
 #include <asm/e820/api.h>
 #include <asm/init.h>
 #include <asm/proto.h>
 #include <asm/page.h>
 #include <asm/mtrr.h>

base-commit: 1c9982b4961334c1edb0745a04cabd34bc2de675

Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 27 lines · Eric Biggers

hibernate_64.c does not do any cryptographic hashing, so the header crypto/hash.h is not needed at all.

---
 arch/x86/power/hibernate_64.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/power/hibernate_64.c +0 -2
index a595953f1d6d8..e72d26acae797 100644
@@ -12,12 +12,10 @@
 #include <linux/suspend.h>
 #include <linux/scatterlist.h>
 #include <linux/kdebug.h>
 #include <linux/pgtable.h>
 
-#include <crypto/hash.h>
-
 #include <asm/e820/api.h>
 #include <asm/init.h>
 #include <asm/proto.h>
 #include <asm/page.h>
 #include <asm/mtrr.h>
Quoted 2 lines

base-commit: 1c9982b4961334c1edb0745a04cabd34bc2de675 --

Applied as 7.1 material, thanks!