Removed fio_write() hack

This commit is contained in:
2022-01-09 20:01:41 +00:00
parent 51cebdae2d
commit 15091303fc

View File

@@ -67,10 +67,6 @@ unsigned int __fio_read(struct __io_file *f, char *buf, unsigned int sz)
unsigned int __fio_write(struct __io_file *f, const char *buf, unsigned int sz)
{
#if 1
mx_console_write(buf, sz);
return sz;
#else
for (unsigned int i = 0; i < sz; i++) {
if (f->buf_idx >= __FIO_BUFSZ) {
__fio_flush(f);
@@ -83,7 +79,6 @@ unsigned int __fio_write(struct __io_file *f, const char *buf, unsigned int sz)
}
return sz;
#endif
}
int __fio_ungetc(struct __io_file *f, char c)