aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-02-12 04:04:28 -0500
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-06-16 07:47:33 -0400
commite42e3980ad7aa92f1acef22f3451e379f701ca26 (patch)
treec5c6ccc1337f2bfc35a96a417735322e7cffbc8a /arch
parent6408ac49979d7035b2e53a9fb326ab0eb98aa6be (diff)
cris/kgdb: Remove obsolete USED*() macros
handle_exception and internal_stack are now global Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/cris/arch-v10/kernel/kgdb.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c
index 7e24b7339ff8..d0b6257afc2c 100644
--- a/arch/cris/arch-v10/kernel/kgdb.c
+++ b/arch/cris/arch-v10/kernel/kgdb.c
@@ -260,10 +260,6 @@ extern unsigned char executing_task;
260/* The number of characters used for a 64 bit thread identifier. */ 260/* The number of characters used for a 64 bit thread identifier. */
261#define HEXCHARS_IN_THREAD_ID 16 261#define HEXCHARS_IN_THREAD_ID 16
262 262
263/* Avoid warning as the internal_stack is not used in the C-code. */
264#define USEDVAR(name) { if (name) { ; } }
265#define USEDFUN(name) { void (*pf)(void) = (void *)name; USEDVAR(pf) }
266
267/********************************** Packet I/O ******************************/ 263/********************************** Packet I/O ******************************/
268/* BUFMAX defines the maximum number of characters in 264/* BUFMAX defines the maximum number of characters in
269 inbound/outbound buffers */ 265 inbound/outbound buffers */
@@ -854,11 +850,6 @@ kill_restart (void)
854void 850void
855handle_exception (int sigval) 851handle_exception (int sigval)
856{ 852{
857 /* Avoid warning of not used. */
858
859 USEDFUN(handle_exception);
860 USEDVAR(internal_stack[0]);
861
862 /* Send response. */ 853 /* Send response. */
863 854
864 stub_is_stopped (sigval); 855 stub_is_stopped (sigval);