[PATCH v2 4/5] um: remove duplicate UM_NSEC_PER_SEC definition

Benjamin Berg benjamin at sipsolutions.net
Sun Nov 3 07:05:05 PST 2024


From: Benjamin Berg <benjamin.berg at intel.com>

Just remove the first entry as there is a second later on.

Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
---
 arch/um/include/shared/common-offsets.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/um/include/shared/common-offsets.h b/arch/um/include/shared/common-offsets.h
index 1d00fc6b6e92..73f3a4792ed8 100644
--- a/arch/um/include/shared/common-offsets.h
+++ b/arch/um/include/shared/common-offsets.h
@@ -6,7 +6,6 @@ DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
 DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
 DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
 DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
-DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
 
 DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC);
-- 
2.47.0




More information about the linux-um mailing list