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

From: Corentin Labbe
Date: Sat Apr 20 2019 - 14:05:33 EST


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 <clabbe.montjoie@xxxxxxxxx>
> ---
> 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