hwrng: core: Remove duplicated include in core.c
Subsystems (2)
PATCH 1/1 hwrng: core: Remove duplicated include in core.c
Fix following includecheck warning:./drivers/char/hw_random/core.c: linux/random.h is included more than once.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/char/hw_random/core.c | 1 - 1 file changed, 1 deletion(-)
drivers/char/hw_random/core.c +0 -1
@@ -21,7 +21,6 @@#include <linux/sched/signal.h> #include <linux/miscdevice.h> #include <linux/module.h> -#include <linux/random.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/uaccess.h>
Signature · 1 line
2.20.1.7.g153144c
Herbert Xu
maintainerQuoted 15 lines · Yang Li
Fix following includecheck warning:
./drivers/char/hw_random/core.c:linux/random.his included more than once.Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/char/hw_random/core.c | 1 - 1 file changed, 1 deletion(-)drivers/char/hw_random/core.c +0
-0
drivers/char/hw_random/core.c line 24
Quoted 4 lines
drivers/char/hw_random/core.c +0
-1@@ -21,7 +21,6 @@#include <linux/sched/signal.h> #include <linux/miscdevice.h> #include <linux/module.h> -#include <linux/random.h>
This file does not appear to have been included twice.
Cheers,
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