m68k/genmcf548x/console/console.c: Eliminate unused debug methods

This commit is contained in:
Joel Sherrill
2014-10-12 08:52:58 -05:00
parent 575c12c17a
commit ce1ba3048f

View File

@@ -832,26 +832,3 @@ rtems_device_driver console_control(
{
return( rtems_termios_ioctl (arg) );
}
int DEBUG_OUTCHAR(int c)
{
if(c == '\n')
DEBUG_OUTCHAR('\r');
_BSP_null_char(c);
return c;
}
void DEBUG_OUTSTR(const char *msg)
{
while (*msg)
DEBUG_OUTCHAR(*msg++);
}
void DEBUG_OUTNUM(int i)
{
int n;
static const char map[] = "0123456789ABCDEF";
DEBUG_OUTCHAR(' ');
for (n = 28 ; n >= 0 ; n -= 4)
DEBUG_OUTCHAR(map[(i >> n) & 0xF]);
}