treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / um / drivers / ubd.h
blobf016fe15499f544e0c762acdae726d76d98dbddf
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
4 * Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com)
5 */
7 #ifndef __UM_UBD_USER_H
8 #define __UM_UBD_USER_H
10 extern int start_io_thread(unsigned long sp, int *fds_out);
11 extern int io_thread(void *arg);
12 extern int kernel_fd;
14 extern int ubd_read_poll(int timeout);
15 extern int ubd_write_poll(int timeout);
17 #define UBD_REQ_BUFFER_SIZE 64
19 #endif