vsock/virtio_transport_common: remove unused virtio header includes
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 10 Dec 2019 10:43:02 +0000 (11:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2019 23:01:23 +0000 (15:01 -0800)
We can remove virtio header includes, because virtio_transport_common
doesn't use virtio API, but provides common functions to interface
virtio/vhost transports with the af_vsock core, and to handle
the protocol.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/virtio_transport_common.c

index e5ea29c6bca7eb782c47398ebc1e3c262257238c..0e20b0f6eb65c9cf7825f7385ebb86f2b22fd28e 100644 (file)
@@ -11,9 +11,6 @@
 #include <linux/sched/signal.h>
 #include <linux/ctype.h>
 #include <linux/list.h>
-#include <linux/virtio.h>
-#include <linux/virtio_ids.h>
-#include <linux/virtio_config.h>
 #include <linux/virtio_vsock.h>
 #include <uapi/linux/vsockmon.h>