treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / misc / vmw_vmci / vmci_route.h
blob040dbfb960911b7e4f7d3a0921e04f262939b708
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * VMware VMCI Driver
5 * Copyright (C) 2012 VMware, Inc. All rights reserved.
6 */
8 #ifndef _VMCI_ROUTE_H_
9 #define _VMCI_ROUTE_H_
11 #include <linux/vmw_vmci_defs.h>
13 enum vmci_route {
14 VMCI_ROUTE_NONE,
15 VMCI_ROUTE_AS_HOST,
16 VMCI_ROUTE_AS_GUEST,
19 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
20 bool from_guest, enum vmci_route *route);
22 #endif /* _VMCI_ROUTE_H_ */