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


Groups > linux.kernel > #1542762 > unrolled thread

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

Started byCorentin Labbe <clabbe.montjoie@gmail.com>
First post2016-12-15 15:20 +0100
Last post2016-12-15 15:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

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

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2016-12-15 15:20 +0100
Subject[PATCH] mptlan: Remove linux/miscdevice.h from mptlan.h
Message-ID<sOF33-6KZ-15@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web