Commit 4e52f1d0 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

drivers/serial: imx: drop useless EWOULDBLOCK->EAGAIN remapping

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 17474ac3
...@@ -1435,10 +1435,6 @@ static ssize_t rt_imx_uart_write(struct rtdm_fd *fd, const void *buf, ...@@ -1435,10 +1435,6 @@ static ssize_t rt_imx_uart_write(struct rtdm_fd *fd, const void *buf,
*/ */
ret = -EBADF; ret = -EBADF;
} }
if (ret == -EWOULDBLOCK) {
/* Fix error code for non-blocking mode. */
ret = -EAGAIN;
}
break; break;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment