[PATCH] clean up some debugging stuff in namedev.c

This commit is contained in:
greg@kroah.com 2003-10-14 23:20:18 -07:00 committed by Greg KH
parent dca0297941
commit 149f210617
1 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,8 @@
*
*/
#undef DEBUG
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@ -530,7 +532,7 @@ label_found:
} else {
*temp = 0x00;
temp = strrchr(path, '/');
dbg("TOPOLOGY temp = '%s' id = '%s'", temp, dev->id);
dbg("NUMBERY temp = '%s' id = '%s'", temp, dev->id);
if (strstr(temp, dev->id) != NULL)
found = 1;
}