[PATCH] vsock: vmci: Remove unneeded linux/miscdevice.h include

Subsystems: networking [general], the rest, vm sockets (af_vsock), vmware vsock vmci transport driver

STALE3276d

2 messages, 2 authors, 2017-09-19 · open the first message on its own page

[PATCH] vsock: vmci: Remove unneeded linux/miscdevice.h include

From: Corentin Labbe <clabbe.montjoie@gmail.com>
Date: 2017-09-18 18:21:01

net/vmw_vsock/vmci_transport.c does not use any miscdevice so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 net/vmw_vsock/vmci_transport.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/vmw_vsock/vmci_transport.c b/net/vmw_vsock/vmci_transport.c
index 10ae7823a19d..0206155bff53 100644
--- a/net/vmw_vsock/vmci_transport.c
+++ b/net/vmw_vsock/vmci_transport.c
@@ -21,7 +21,6 @@
 #include <linux/kernel.h>
 #include <linux/kmod.h>
 #include <linux/list.h>
-#include <linux/miscdevice.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/net.h>
-- 
2.13.5

Re: [PATCH] vsock: vmci: Remove unneeded linux/miscdevice.h include

From: David Miller <davem@davemloft.net>
Date: 2017-09-19 20:52:26

From: Corentin Labbe <clabbe.montjoie@gmail.com>
Date: Mon, 18 Sep 2017 20:18:55 +0200
net/vmw_vsock/vmci_transport.c does not use any miscdevice so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help