Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1542762

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

From Corentin Labbe <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] mptlan: Remove linux/miscdevice.h from mptlan.h
Date 2016-12-15 15:20 +0100
Message-ID <sOF33-6KZ-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 <clabbe.montjoie@gmail.com>
---
 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] mptlan: Remove linux/miscdevice.h from mptlan.h Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 15:20 +0100

csiph-web