summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-02-12 10:04:28 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-06-16 13:47:33 +0200
commite42e3980ad7aa92f1acef22f3451e379f701ca26 (patch)
treec5c6ccc1337f2bfc35a96a417735322e7cffbc8a /arch/cris
parent6408ac49979d7035b2e53a9fb326ab0eb98aa6be (diff)
downloadop-kernel-dev-e42e3980ad7aa92f1acef22f3451e379f701ca26.zip
op-kernel-dev-e42e3980ad7aa92f1acef22f3451e379f701ca26.tar.gz
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/cris')
-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 7e24b73..d0b6257 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;
/* The number of characters used for a 64 bit thread identifier. */
#define HEXCHARS_IN_THREAD_ID 16
-/* Avoid warning as the internal_stack is not used in the C-code. */
-#define USEDVAR(name) { if (name) { ; } }
-#define USEDFUN(name) { void (*pf)(void) = (void *)name; USEDVAR(pf) }
-
/********************************** Packet I/O ******************************/
/* BUFMAX defines the maximum number of characters in
inbound/outbound buffers */
@@ -854,11 +850,6 @@ kill_restart (void)
void
handle_exception (int sigval)
{
- /* Avoid warning of not used. */
-
- USEDFUN(handle_exception);
- USEDVAR(internal_stack[0]);
-
/* Send response. */
stub_is_stopped (sigval);
OpenPOWER on IntegriCloud