Trim down the hotplug debug app.

This commit is contained in:
Eric Anholt 2009-10-06 17:53:21 -07:00
parent e95eb483e2
commit 71b9cdaa86
2 changed files with 1 additions and 23 deletions

View File

@ -20,8 +20,7 @@ intel_gtt_SOURCES = \
intel_hotplug_SOURCES = \
hotplug.c \
reg_dumper.h \
xprintf.c \
../i830_debug.c
xprintf.c
intel_stepping_SOURCES = \
stepping.c

View File

@ -124,24 +124,3 @@ int main(int argc, char **argv)
return 0;
}
void xf86DrvMsg(int scrnIndex, int severity, const char *format, ...)
{
va_list va;
switch (severity) {
case X_INFO:
printf("(II): ");
break;
case X_WARNING:
printf("(WW): ");
break;
case X_ERROR:
printf("(EE): ");
break;
}
va_start(va, format);
vprintf(format, va);
va_end(va);
}