[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220215005505.80430-1-yang.lee@linux.alibaba.com>
Date: Tue, 15 Feb 2022 08:55:05 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: mpm@...enic.com
Cc: herbert@...dor.apana.org.au, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] 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 <abaci@...ux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
drivers/char/hw_random/core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index be2953aa5145..94626f533361 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -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>
--
2.20.1.7.g153144c
Powered by blists - more mailing lists