x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 6 Feb 2014 14:41:29 +0000 (09:41 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 7 Mar 2014 00:56:54 +0000 (16:56 -0800)
According to a git log -p, GET_THREAD_INFO_WITH_ESP() has only been defined
and never been used. Get rid of it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20140206144321.409045251@goodmis.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/thread_info.h

index b7aa975561e200d4c4b8d2dcc4a4c640acf04a3d..1cb3501636d27ed5d2d28f02e192f094c26101c7 100644 (file)
@@ -182,10 +182,6 @@ static inline struct thread_info *current_thread_info(void)
        movl $-THREAD_SIZE, reg; \
        andl %esp, reg
 
-/* use this one if reg already contains %esp */
-#define GET_THREAD_INFO_WITH_ESP(reg) \
-       andl $-THREAD_SIZE, reg
-
 #endif
 
 #else /* X86_32 */