Skip to content

Commit 750212c

Browse files
softwareckicarlescufi
authored andcommitted
mm: tlb: Remove ARG_UNUSED macro invocation
The flags parameter in the sys_mm_drv_map_page function is used, so the ARG_UNUSED macro invocation is unnecessary. Remove this macro usage to clean up the code and improvs code readability and maintainability. Signed-off-by: Adrian Warecki <[email protected]>
1 parent b38773f commit 750212c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mm/mm_drv_intel_adsp_mtl_tlb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ int sys_mm_drv_map_page(void *virt, uintptr_t phys, uint32_t flags)
187187
uintptr_t pa = POINTER_TO_UINT(sys_cache_cached_ptr_get(UINT_TO_POINTER(phys)));
188188
uintptr_t va = POINTER_TO_UINT(sys_cache_cached_ptr_get(virt));
189189

190-
ARG_UNUSED(flags);
191-
192190
/* Make sure VA is page-aligned */
193191
CHECKIF(!sys_mm_drv_is_addr_aligned(va)) {
194192
ret = -EINVAL;

0 commit comments

Comments
 (0)