2017-09-18 16:55:04

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH RESEND] 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 52b12b22f4ae..a57bbee018ae 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.13.5


2019-04-20 18:09:53

by Corentin Labbe

[permalink] [raw]
Subject: Re: [PATCH RESEND] misc: mic: Remove linux/miscdevice.h include

On Mon, Sep 18, 2017 at 06:52:52PM +0200, Corentin Labbe wrote:
> 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]>

Hello

Gentle ping

Regards