hwrng: Remove duplicated include
Subsystems (2)
PATCH v2 1/1 hwrng: Remove duplicated include
Remove duplicated include of linux/random.h. Resolves checkincludes message. And adjust includes in alphabetical order.
Signed-off-by GUO Zihua <[email protected]>
---
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
@@ -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
Herbert Xu
maintainerQuoted 5 lines · GUO Zihua
Remove duplicated include of
linux/random.h. Resolves checkincludes message. And adjust includes in alphabetical order.Signed-off-by GUO Zihua <[email protected]>
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