Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1541145

[PATCH v2 7/7] hwrng: core: Remove linux/sched.h from includes

From Corentin Labbe <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 7/7] hwrng: core: Remove linux/sched.h from includes
Date 2016-12-13 16:00 +0100
Message-ID <sNWIG-2q3-17@gated-at.bofh.it> (permalink)
References <sNWIF-2q3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


linux/sched.h is useless for hw_random/core.c.
This patch remove it.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---

Change since v1:
- linux/fs.h was needed, keep it

 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 5c654b5..1c5949b 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -20,7 +20,6 @@
 #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.10.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/7] hwrng: core: do not use multiple blank lines Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
  [PATCH v2 5/7] hwrng: core: Move hwrng miscdev minor number to include/linux/miscdevice.h Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
  [PATCH v2 6/7] hwrng: core: remove unused PFX macro Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
  [PATCH v2 7/7] hwrng: core: Remove linux/sched.h from includes Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
    Re: [PATCH v2 7/7] hwrng: core: Remove linux/sched.h from includes Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-27 10:20 +0100
  [PATCH v2 2/7] hwrng: core: rewrite better comparison to NULL Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
  [PATCH v2 4/7] hwrng: core: Replace asm/uaccess.h by linux/uaccess.h Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
  [PATCH v2 3/7] hwrng: core: Rewrite the header Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:00 +0100
  Re: [PATCH v2 1/7] hwrng: core: do not use multiple blank lines Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-27 11:10 +0100

csiph-web