2016-12-15 18:14:28

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] Input: joydev: remove unused linux/miscdevice.h include

This patch remove the inclusion of linux/miscdevice.h for joydev
since it does not use miscdevice.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/input/joydev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c
index f3135ae..abd18f3 100644
--- a/drivers/input/joydev.c
+++ b/drivers/input/joydev.c
@@ -22,7 +22,6 @@
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mm.h>
-#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/init.h>
--
2.10.2