Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e42e3980 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

cris/kgdb: Remove obsolete USED*() macros



handle_exception and internal_stack are now global

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 6408ac49
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -260,10 +260,6 @@ extern unsigned char executing_task;
/* The number of characters used for a 64 bit thread identifier. */
/* The number of characters used for a 64 bit thread identifier. */
#define HEXCHARS_IN_THREAD_ID 16
#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 ******************************/
/********************************** Packet I/O ******************************/
/* BUFMAX defines the maximum number of characters in
/* BUFMAX defines the maximum number of characters in
   inbound/outbound buffers */
   inbound/outbound buffers */
@@ -854,11 +850,6 @@ kill_restart (void)
void
void
handle_exception (int sigval)
handle_exception (int sigval)
{
{
	/* Avoid warning of not used. */

	USEDFUN(handle_exception);
	USEDVAR(internal_stack[0]);

	/* Send response. */
	/* Send response. */


	stub_is_stopped (sigval);
	stub_is_stopped (sigval);