summaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/uaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/asm/uaccess.h')
-rw-r--r--arch/nios2/include/asm/uaccess.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/nios2/include/asm/uaccess.h b/arch/nios2/include/asm/uaccess.h
index e0ea10806491..e83f831a76f9 100644
--- a/arch/nios2/include/asm/uaccess.h
+++ b/arch/nios2/include/asm/uaccess.h
@@ -26,7 +26,6 @@
#define USER_DS MAKE_MM_SEG(0x80000000UL)
#define KERNEL_DS MAKE_MM_SEG(0)
-#define get_ds() (KERNEL_DS)
#define get_fs() (current_thread_info()->addr_limit)
#define set_fs(seg) (current_thread_info()->addr_limit = (seg))