2016-12-15 14:14:22

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] mptlan: Remove linux/miscdevice.h from mptlan.h

This patch remove linux/miscdevice.h from mptlan.h since mptlan.h does
not contain any miscdevice.
The only user of it is mptctl.c which already include linux/miscdevice.h
So no need to include it twice.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/message/fusion/mptlan.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h
index 69e9d54..694b475 100644
--- a/drivers/message/fusion/mptlan.h
+++ b/drivers/message/fusion/mptlan.h
@@ -65,7 +65,6 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
-#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/delay.h>
--
2.10.2