Skip to contentSkip to conversation

hwrng: Remove duplicated include

PATCH In review GUO Zihua 2 participants 2 messages Aug 10, 2023 – Aug 18, 2023

Subsystems (2)
lore
Share & tools
lore

GUO Zihua

author
#0 lore raw

PATCH v2 1/1 hwrng: Remove duplicated include

Remove duplicated include of linux/random.h. Resolves checkincludes message. And adjust includes in alphabetical order.

---

v2:
Adjust incldues in alphabetical order as well.

---
 drivers/char/hw_random/core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/char/hw_random/core.c +1 -2
index f34d356fe2c0..e3598ec9cfca 100644
@@ -15,14 +15,13 @@
 #include <linux/err.h>
 #include <linux/fs.h>
 #include <linux/hw_random.h>
-#include <linux/random.h>
 #include <linux/kernel.h>
 #include <linux/kthread.h>
-#include <linux/sched/signal.h>
 #include <linux/miscdevice.h>
 #include <linux/module.h>
 #include <linux/random.h>
 #include <linux/sched.h>
+#include <linux/sched/signal.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 5 lines · GUO Zihua

Remove duplicated include of linux/random.h. Resolves checkincludes message. And adjust includes in alphabetical order.

Quoted 7 lines

---

v2:
Adjust incldues in alphabetical order as well.

---
 drivers/char/hw_random/core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt