summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/riscv/virtual_memory.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/riscv/virtual_memory.c b/src/arch/riscv/virtual_memory.c
index 0061847c01..2f13ecb398 100644
--- a/src/arch/riscv/virtual_memory.c
+++ b/src/arch/riscv/virtual_memory.c
@@ -40,11 +40,6 @@ static int delegate = 0
void mstatus_init(void)
{
- uintptr_t ms = 0;
-
- ms = INSERT_FIELD(ms, MSTATUS_FS, 3);
- write_csr(mstatus, ms);
-
// clear any pending timer interrupts.
clear_csr(mip, MIP_STIP | MIP_SSIP);