Removed fio_write() hack
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user