git: b8afdda360e5 - main - gicv3_its: Drop a couple of redundant vm_offset_t casts

From: Jessica Clarke <jrtc27_at_FreeBSD.org>
Date: Wed, 07 Feb 2024 16:39:35 UTC
The branch main has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=b8afdda360e5915be3c2cf0d1438f511779b03db

commit b8afdda360e5915be3c2cf0d1438f511779b03db
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-02-07 16:24:34 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-02-07 16:24:34 +0000

    gicv3_its: Drop a couple of redundant vm_offset_t casts
    
    These are already vm_offset_t, no need to cast.
---
 sys/arm64/arm64/gicv3_its.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c
index a667d40b4e3e..42a8fb8a9c26 100644
--- a/sys/arm64/arm64/gicv3_its.c
+++ b/sys/arm64/arm64/gicv3_its.c
@@ -718,8 +718,7 @@ gicv3_its_pendtables_init(struct gicv3_its_softc *sc)
 		    0, LPI_PENDTAB_MAX_ADDR, LPI_PENDTAB_ALIGN, 0);
 
 		/* Flush so the ITS can see the memory */
-		cpu_dcache_wb_range((vm_offset_t)sc->sc_pend_base[i],
-		    LPI_PENDTAB_SIZE);
+		cpu_dcache_wb_range(sc->sc_pend_base[i], LPI_PENDTAB_SIZE);
 	}
 }
 
@@ -1329,8 +1328,7 @@ its_device_alloc(struct gicv3_its_softc *sc, int devid)
 	    ptable->ptab_page_size, 0);
 
 	if (!shareable)
-		cpu_dcache_wb_range((vm_offset_t)l2_table,
-		    ptable->ptab_l2_size);
+		cpu_dcache_wb_range(l2_table, ptable->ptab_l2_size);
 
 	table[index] = vtophys(l2_table) | GITS_BASER_VALID;
 	if (!shareable)