VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2019-03-04 10:39:05 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2019-03-04 10:50:14 -0800 commit: 736706bee3298208343a76096370e4f6a5c55915 parent: 84c4e1f89fefe70554da0ab33be72c9be7994379
Commit Summary:
get rid of legacy 'get_ds()' function
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/arch/h8300/include/asm/segment.h b/arch/h8300/include/asm/segment.h
index 9adbf7e1aaa3..a407978f9f9f 100644
--- a/arch/h8300/include/asm/segment.h
+++ b/arch/h8300/include/asm/segment.h
@@ -33,12 +33,6 @@ static inline mm_segment_t get_fs(void)
 	return USER_DS;
 }
 
-static inline mm_segment_t get_ds(void)
-{
-	/* return the supervisor data space code */
-	return KERNEL_DS;
-}
-
 #define segment_eq(a, b)	((a).seg == (b).seg)
 
 #endif /* __ASSEMBLY__ */