aboutsummaryrefslogtreecommitdiff
path: root/pk/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'pk/file.c')
-rw-r--r--pk/file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pk/file.c b/pk/file.c
index cf370b5..fa7e1e1 100644
--- a/pk/file.c
+++ b/pk/file.c
@@ -125,12 +125,6 @@ sysret_t file_pread(file_t* f, char* buf, size_t size, off_t offset)
sysret_t file_write(file_t* f, const char* buf, size_t size)
{
- if(f->kfd == 1 || f->kfd == 2)
- {
- for(size_t i = 0; i < size; i++)
- mtpcr(PCR_CONSOLE,buf[i]);
- }
-
return frontend_syscall(SYS_write,f->kfd,(long)buf,size,0);
}