diff options
author | GUO Zihua <guozihua@huawei.com> | 2023-08-10 15:00:43 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-18 11:01:09 +0200 |
commit | d88bdbd96d258ab7973e67b94701c55324e9885f (patch) | |
tree | 1b7fb2d5be78087318dfecad5b0aa5b67cbcc39b | |
parent | crypto: exynos - fix Wvoid-pointer-to-enum-cast warning (diff) | |
download | linux-d88bdbd96d258ab7973e67b94701c55324e9885f.tar.xz linux-d88bdbd96d258ab7973e67b94701c55324e9885f.zip |
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>
-rw-r--r-- | drivers/char/hw_random/core.c | 3 |
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> |