MIPS: Remove unused TTABLE macro
authorPaul Burton <paul.burton@mips.com>
Mon, 15 Oct 2018 18:33:20 +0000 (18:33 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 16 Oct 2018 06:11:13 +0000 (23:11 -0700)
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
arch/mips/include/asm/asm.h

index 0371177..0cd72b4 100644 (file)
@@ -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!