diff mbox series

vhost: remove unneeded linux/miscdevice.h include

Message ID 20170918165854.23408-1-clabbe.montjoie@gmail.com
State New
Headers show
Series vhost: remove unneeded linux/miscdevice.h include | expand

Commit Message

Corentin Labbe Sept. 18, 2017, 4:58 p.m. UTC
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(-)

-- 
2.13.5

Comments

Corentin Labbe April 20, 2019, 6:05 p.m. UTC | #1
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
Stefan Hajnoczi April 23, 2019, 1:26 p.m. UTC | #2
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(-)


Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
diff mbox series

Patch

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>