From: Cheng-Han Wu Date: Sun, 27 Apr 2025 14:50:04 +0000 (+0800) Subject: mm: remove unused macro INIT_PASID X-Git-Tag: v6.16-rc1~92^2~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3365bdca2200e24d815b19382d3f05deb8567ab;p=thirdparty%2Flinux.git mm: remove unused macro INIT_PASID The macro INIT_PASID was originally used by mm_init_pasid. However, since commit a6cbd44093ef ("kernel/fork: Initialize mm's PASID"), mm_init_pasid has been removed. Therefore, INIT_PASID is no longer needed and is removed. Link: https://lkml.kernel.org/r/20250427145004.13049-1-hank20010209@gmail.com Signed-off-by: Cheng-Han Wu Reviewed-by: Anshuman Khandual Signed-off-by: Andrew Morton --- diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 56d07edd01f91..e76bade9ebb12 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -28,7 +28,6 @@ #endif #define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1)) -#define INIT_PASID 0 struct address_space; struct mem_cgroup;