All of lore.kernel.org
 help / color / mirror / Atom feed
From: williamsukatube@163.com
To: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: William Dean <williamsukatube@163.com>
Subject: [PATCH -next] hwrng: Remove duplicate include
Date: Sat, 17 Sep 2022 17:55:05 +0800	[thread overview]
Message-ID: <20220917095505.5646-1-williamsukatube@163.com> (raw)

From: William Dean <williamsukatube@163.com>

In file: drivers/char/hw_random/core.c,
'#include <linux/random.h>' has included at line: 18,
now it is duplicated include at line: 24, so delete duplicated include.

Signed-off-by: William Dean <williamsukatube@163.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 16f227b995e8..56d171cd2fc6 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.25.1


             reply	other threads:[~2022-09-17  9:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-17  9:55 williamsukatube [this message]
2022-09-24  7:31 ` [PATCH -next] hwrng: Remove duplicate include Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220917095505.5646-1-williamsukatube@163.com \
    --to=williamsukatube@163.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.