2017-09-18 18:00:32

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] sparc: time: Remove unneeded linux/miscdevice.h include

arch/sparc/kernel/time_64.c does not contain any miscdevice so the
inclusion of linux/miscdevice.h is unnecessary.

Signed-off-by: Corentin Labbe <[email protected]>
---
arch/sparc/kernel/time_64.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c
index 564f0e46ffd4..5c8524ff09d9 100644
--- a/arch/sparc/kernel/time_64.c
+++ b/arch/sparc/kernel/time_64.c
@@ -27,7 +27,6 @@
#include <linux/jiffies.h>
#include <linux/cpufreq.h>
#include <linux/percpu.h>
-#include <linux/miscdevice.h>
#include <linux/rtc/m48t59.h>
#include <linux/kernel_stat.h>
#include <linux/clockchips.h>
--
2.13.5


2017-09-28 04:52:18

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] sparc: time: Remove unneeded linux/miscdevice.h include

From: Corentin Labbe <[email protected]>
Date: Mon, 18 Sep 2017 19:58:21 +0200

> arch/sparc/kernel/time_64.c does not contain any miscdevice so the
> inclusion of linux/miscdevice.h is unnecessary.
>
> Signed-off-by: Corentin Labbe <[email protected]>

Applied.