linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] m68k/mac: remove unneeded linux/miscdevice.h include
@ 2016-12-15 15:02 Corentin Labbe
  2017-02-09 13:23 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2016-12-15 15:02 UTC (permalink / raw)
  To: funaho, geert, linux-m68k; +Cc: linux-kernel, Corentin Labbe

arch/m68k/mac/misc.c does not use any miscdevice so the
inclusion of linux/miscdevice.h is unnecessary.
This patch remove this unnecessary include.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 arch/m68k/mac/misc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c
index 0fb54a9..c6b10bd 100644
--- a/arch/m68k/mac/misc.c
+++ b/arch/m68k/mac/misc.c
@@ -4,7 +4,6 @@
 
 #include <linux/types.h>
 #include <linux/errno.h>
-#include <linux/miscdevice.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/sched.h>
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] m68k/mac: remove unneeded linux/miscdevice.h include
  2016-12-15 15:02 [PATCH] m68k/mac: remove unneeded linux/miscdevice.h include Corentin Labbe
@ 2017-02-09 13:23 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2017-02-09 13:23 UTC (permalink / raw)
  To: Corentin Labbe; +Cc: Joshua Thompson, linux-m68k, linux-kernel

On Thu, Dec 15, 2016 at 4:02 PM, Corentin Labbe
<clabbe.montjoie@gmail.com> wrote:
> arch/m68k/mac/misc.c does not use any miscdevice so the
> inclusion of linux/miscdevice.h is unnecessary.
> This patch remove this unnecessary include.
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

Thanks, applied and queued for v4.11.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-09 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15 15:02 [PATCH] m68k/mac: remove unneeded linux/miscdevice.h include Corentin Labbe
2017-02-09 13:23 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).