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


Groups > linux.kernel > #1542759

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

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

Show all headers | View raw


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

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


Thread

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

csiph-web