From b9f4af059dca2fe8b6d98f407c03ce5757958f6c Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 21 Jun 2021 14:39:30 +0000 Subject: [PATCH] code is obvious, comments not required --- sys/arch/riscv64/riscv64/syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/riscv64/riscv64/syscall.c b/sys/arch/riscv64/riscv64/syscall.c index 8fb24ba5c2b..615d2c9dfd1 100644 --- a/sys/arch/riscv64/riscv64/syscall.c +++ b/sys/arch/riscv64/riscv64/syscall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.c,v 1.9 2021/05/20 04:22:33 drahn Exp $ */ +/* $OpenBSD: syscall.c,v 1.10 2021/06/21 14:39:30 deraadt Exp $ */ /* * Copyright (c) 2020 Brian Bamsch @@ -52,8 +52,8 @@ svc_handler(trapframe_t *frame) if (__predict_true(frame->tf_scause & EXCP_INTR)) intr_enable(); - ap = &frame->tf_a[0]; // Pointer to first arg - code = frame->tf_t[0]; // Syscall code + ap = &frame->tf_a[0]; + code = frame->tf_t[0]; callp = p->p_p->ps_emul->e_sysent; switch (code) { -- 2.20.1