2016-12-15 14:10:11

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Corentin Labbe <[email protected]>
---
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