[PATCH] staging: media: atomisp: Remove unused macro PAGE_VALID

From: Brent Pappas
Date: Tue Nov 22 2022 - 16:23:59 EST


Remove the unused macro PAGE_VALID.

Signed-off-by: Brent Pappas <bpappas@xxxxxxxxxxxxxxx>
---
drivers/staging/media/atomisp/include/mmu/isp_mmu.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/media/atomisp/include/mmu/isp_mmu.h b/drivers/staging/media/atomisp/include/mmu/isp_mmu.h
index 268560954792..77546c773754 100644
--- a/drivers/staging/media/atomisp/include/mmu/isp_mmu.h
+++ b/drivers/staging/media/atomisp/include/mmu/isp_mmu.h
@@ -124,7 +124,6 @@ struct isp_mmu {
((pte) & ISP_PTE_VALID_MASK(mmu))

#define NULL_PAGE ((phys_addr_t)(-1) & ISP_PAGE_MASK)
-#define PAGE_VALID(page) ((page) != NULL_PAGE)

/*
* init mmu with specific mmu driver.
--
2.34.1