vsock: remove include/linux/vm_sockets.h file

This header file now only includes the "uapi/linux/vm_sockets.h".
We can include directly it when needed.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stefano Garzarella 2019-11-14 10:57:38 +01:00 committed by David S. Miller
parent db205c7668
commit 3603a2e991
4 changed files with 2 additions and 16 deletions

View File

@ -1,13 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* VMware vSockets Driver
*
* Copyright (C) 2007-2013 VMware, Inc. All rights reserved.
*/
#ifndef _VM_SOCKETS_H
#define _VM_SOCKETS_H
#include <uapi/linux/vm_sockets.h>
#endif /* _VM_SOCKETS_H */

View File

@ -10,7 +10,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/vm_sockets.h> #include <uapi/linux/vm_sockets.h>
#include "vsock_addr.h" #include "vsock_addr.h"

View File

@ -8,7 +8,7 @@
#ifndef _VSOCK_ADDR_H_ #ifndef _VSOCK_ADDR_H_
#define _VSOCK_ADDR_H_ #define _VSOCK_ADDR_H_
#include <linux/vm_sockets.h> #include <uapi/linux/vm_sockets.h>
void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port); void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port);
int vsock_addr_validate(const struct sockaddr_vm *addr); int vsock_addr_validate(const struct sockaddr_vm *addr);

View File

@ -11,7 +11,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/vmw_vmci_defs.h> #include <linux/vmw_vmci_defs.h>
#include <linux/vmw_vmci_api.h> #include <linux/vmw_vmci_api.h>
#include <linux/vm_sockets.h>
#include "vmci_transport.h" #include "vmci_transport.h"