Skip to content

Commit 1b8da5e

Browse files
committed
feat(sysreg): update handle_read and handle_write to use unused parameters
1 parent d5d8ae9 commit 1b8da5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sysreg/cntp_tval_el0.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ impl BaseDeviceOps<SysRegAddrRange> for SysCntpTvalEl0 {
3434

3535
fn handle_read(
3636
&self,
37-
addr: <SysRegAddrRange as DeviceAddrRange>::Addr,
38-
width: AccessWidth,
37+
_addr: <SysRegAddrRange as DeviceAddrRange>::Addr,
38+
_width: AccessWidth,
3939
) -> AxResult<usize> {
4040
todo!()
4141
}
4242

4343
fn handle_write(
4444
&self,
4545
addr: <SysRegAddrRange as DeviceAddrRange>::Addr,
46-
width: AccessWidth,
46+
_width: AccessWidth,
4747
val: usize,
4848
) -> AxResult {
4949
info!("Write to emulator register: {:?}, value: {}", addr, val);

0 commit comments

Comments
 (0)