Kaynağa Gözat

MIPS: Remove unused TTABLE macro

asm/asm.h contains a TTABLE macro to generate "text tables" which would
appear to be arrays of pointers to strings. It is unused throughout the
kernel tree, so delete the dead code.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20904/
Cc: linux-mips@linux-mips.org
Paul Burton 6 yıl önce
ebeveyn
işleme
da1d25e79a
1 değiştirilmiş dosya ile 0 ekleme ve 11 silme
  1. 0 11
      arch/mips/include/asm/asm.h

+ 0 - 11
arch/mips/include/asm/asm.h

@@ -112,17 +112,6 @@ symbol		=	value
 8:		.asciiz msg;				\
 		.popsection;
 
-/*
- * Build text tables
- */
-#define TTABLE(string)					\
-		.pushsection .text;			\
-		.word	1f;				\
-		.popsection				\
-		.pushsection .data;			\
-1:		.asciiz string;				\
-		.popsection
-
 /*
  * MIPS IV pref instruction.
  * Use with .set noreorder only!