aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-10-15 18:33:21 +0000
committerPaul Burton <paul.burton@mips.com>2018-10-15 23:11:13 -0700
commite2b405439903b20675de30090aab0fcadef5bbba (patch)
treef279fcfd2eecac57ddbd5114be2c9a16432c8530
parentMIPS: Add kernel_pref & user_pref helpers (diff)
downloadlinux-dev-e2b405439903b20675de30090aab0fcadef5bbba.tar.xz
linux-dev-e2b405439903b20675de30090aab0fcadef5bbba.zip
MIPS: Remove unused CAT macro
asm/asm.h provides a CAT macro which is unused throughout the tree, and if anyone wanted it the generic CONCATENATE macro in linux/kernel.h provides the same functionality. Delete the dead code. Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20905/ Cc: linux-mips@linux-mips.org
-rw-r--r--arch/mips/include/asm/asm.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index 0cd72b43079f..74b1c6fd8277 100644
--- a/arch/mips/include/asm/asm.h
+++ b/arch/mips/include/asm/asm.h
@@ -20,15 +20,6 @@
#include <asm/sgidefs.h>
#include <asm/asm-eva.h>
-#ifndef CAT
-#ifdef __STDC__
-#define __CAT(str1, str2) str1##str2
-#else
-#define __CAT(str1, str2) str1/**/str2
-#endif
-#define CAT(str1, str2) __CAT(str1, str2)
-#endif
-
/*
* LEAF - declare leaf routine
*/