summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorGUO Zihua <guozihua@huawei.com>2023-08-10 21:00:43 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-18 17:01:09 +0800
commitd88bdbd96d258ab7973e67b94701c55324e9885f (patch)
tree1b7fb2d5be78087318dfecad5b0aa5b67cbcc39b /drivers/char
parentd1c02e876f2e63520fd4fe393ed6b68882c9f848 (diff)
hwrng: core - Remove duplicated include
Remove duplicated include of linux/random.h. Resolves checkincludes message. And adjust includes in alphabetical order. Signed-off-by: GUO Zihua <guozihua@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index f34d356fe2c0..e3598ec9cfca 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -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>