lib: Delete redundant ulong

In `csr_read_allowed` and `csr_write_allowed` macros, has already
converted second param to `ulong`. So delete redundant `ulong`
where uses csr_read/write_allowed macros.

Signed-off-by: Zhang RunMin <runmin.zhang@ingenic.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Zhang RunMin
2024-08-14 21:23:01 +08:00
committed by Anup Patel
parent b0ad9e0bdd
commit ef4520b1c6
3 changed files with 19 additions and 19 deletions

View File

@@ -241,7 +241,7 @@ void imsic_local_irqchip_init(void)
*/
/* If Smaia not available then do nothing */
csr_read_allowed(CSR_MTOPI, (ulong)&trap);
csr_read_allowed(CSR_MTOPI, &trap);
if (trap.cause)
return;