treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / um / drivers / port.h
blob9085b336e683c9514f4042e6d3a46644928b94e8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
4 */
6 #ifndef __PORT_H__
7 #define __PORT_H__
9 extern void *port_data(int port);
10 extern int port_wait(void *data);
11 extern void port_kern_close(void *d);
12 extern int port_connection(int fd, int *socket_out, int *pid_out);
13 extern int port_listen_fd(int port);
14 extern void port_read(int fd, void *data);
15 extern void port_kern_free(void *d);
16 extern int port_rcv_fd(int fd);
17 extern void port_remove_dev(void *d);
19 #endif