Skip to contentSkip to conversation

misc: mic: Remove linux/miscdevice.h include

PATCH RESEND In review Corentin Labbe 1 participant 2 messages Sep 18, 2017 – Apr 20, 2019 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 misc: mic: Remove linux/miscdevice.h include

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.

---
 drivers/misc/mic/host/mic_device.h | 1 -
 1 file changed, 1 deletion(-)
drivers/misc/mic/host/mic_device.h +0 -1
index 52b12b22f4ae..a57bbee018ae 100644
@@ -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"
Signature · 1 line
2.13.5
#1 lore raw
Quoted 8 lines · Corentin Labbe

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.

Hello

Gentle ping

Regards