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

Corentin Labbe
2019-04-20T18:05:28Z

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@gmail.com>
> ---
> 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