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


Groups > linux.kernel > #1542759 > unrolled thread

[PATCH] misc: mic: Remove linux/miscdevice.h include

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] misc: mic: Remove linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 15:20 +0100

#1542759 — [PATCH] misc: mic: Remove linux/miscdevice.h include

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2016-12-15 15:20 +0100
Subject[PATCH] misc: mic: Remove linux/miscdevice.h include
Message-ID<sOF33-6KZ-7@gated-at.bofh.it>
linux/miscdevice.h include was added in commit 1da2b3eeef36 ("misc: mic: Remove COSM functionality from the MIC host driver")
along with a struct miscdevice miscdev in struct mic_device.
but the following commit ef39830c3583 ("misc: mic: Remove MIC X100 host virtio functionality")
remove all miscdevice.

This patch remove linux/miscdevice.h which was forgeted and now unnecessary.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 drivers/misc/mic/host/mic_device.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/misc/mic/host/mic_device.h b/drivers/misc/mic/host/mic_device.h
index 52b12b2..a57bbee 100644
--- a/drivers/misc/mic/host/mic_device.h
+++ b/drivers/misc/mic/host/mic_device.h
@@ -26,7 +26,6 @@
 #include <linux/notifier.h>
 #include <linux/irqreturn.h>
 #include <linux/dmaengine.h>
-#include <linux/miscdevice.h>
 #include <linux/mic_bus.h>
 #include "../bus/scif_bus.h"
 #include "../bus/vop_bus.h"
-- 
2.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web