Message ID | 20161213145115.30082-7-clabbe.montjoie@gmail.com (mailing list archive) |
---|---|
State | Rejected |
Delegated to: | Herbert Xu |
Headers | show |
On Tue, Dec 13, 2016 at 03:51:15PM +0100, Corentin Labbe wrote: > linux/sched.h is useless for hw_random/core.c. > This patch remove it. I see a schedule_timeout_interruptible call in core.c. Cheers,
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>
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(-)