summaryrefslogtreecommitdiff
path: root/arch/nds32/include/asm/uaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/include/asm/uaccess.h')
-rw-r--r--arch/nds32/include/asm/uaccess.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/nds32/include/asm/uaccess.h b/arch/nds32/include/asm/uaccess.h
index 53dcb49b0b12..116598b47c4d 100644
--- a/arch/nds32/include/asm/uaccess.h
+++ b/arch/nds32/include/asm/uaccess.h
@@ -37,7 +37,6 @@ extern int fixup_exception(struct pt_regs *regs);
#define KERNEL_DS ((mm_segment_t) { ~0UL })
#define USER_DS ((mm_segment_t) {TASK_SIZE - 1})
-#define get_ds() (KERNEL_DS)
#define get_fs() (current_thread_info()->addr_limit)
#define user_addr_max get_fs