2017-09-18 17:01:01

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] vhost: remove unneeded linux/miscdevice.h include

drivers/vhost/vhost.c does not use any miscdevice, so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/vhost/vhost.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 33ac2b186b85..33ab839696f9 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -16,7 +16,6 @@
#include <linux/uio.h>
#include <linux/mm.h>
#include <linux/mmu_context.h>
-#include <linux/miscdevice.h>
#include <linux/mutex.h>
#include <linux/poll.h>
#include <linux/file.h>
--
2.13.5


2019-04-20 18:09:53

by Corentin Labbe

[permalink] [raw]
Subject: Re: [PATCH] vhost: remove unneeded linux/miscdevice.h include

On Mon, Sep 18, 2017 at 06:58:54PM +0200, Corentin Labbe wrote:
> drivers/vhost/vhost.c does not use any miscdevice, so this patch
> remove this unnecessary inclusion.
>
> Signed-off-by: Corentin Labbe <[email protected]>
> ---
> drivers/vhost/vhost.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
> index 33ac2b186b85..33ab839696f9 100644
> --- a/drivers/vhost/vhost.c
> +++ b/drivers/vhost/vhost.c
> @@ -16,7 +16,6 @@
> #include <linux/uio.h>
> #include <linux/mm.h>
> #include <linux/mmu_context.h>
> -#include <linux/miscdevice.h>
> #include <linux/mutex.h>
> #include <linux/poll.h>
> #include <linux/file.h>
> --
> 2.13.5
>

Hello

gentle ping

Regards

2019-04-23 13:29:03

by Stefan Hajnoczi

[permalink] [raw]
Subject: Re: [PATCH] vhost: remove unneeded linux/miscdevice.h include

On Mon, Sep 18, 2017 at 06:58:54PM +0200, Corentin Labbe wrote:
> drivers/vhost/vhost.c does not use any miscdevice, so this patch
> remove this unnecessary inclusion.
>
> Signed-off-by: Corentin Labbe <[email protected]>
> ---
> drivers/vhost/vhost.c | 1 -
> 1 file changed, 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <[email protected]>


Attachments:
(No filename) (363.00 B)
signature.asc (465.00 B)
Download all attachments