staging: media: atomisp: Remove unused macro PAGE_VALID

Message ID 20221122212240.12654-1-bpappas@pappasbrent.com
State New
Headers
Series staging: media: atomisp: Remove unused macro PAGE_VALID |

Commit Message

Brent Pappas Nov. 22, 2022, 9:22 p.m. UTC
  Remove the unused macro PAGE_VALID.

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

Patch

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.