From 04f50c4d25184edb5a47dc0dcbcf8f71c42e7a16 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 16 Jul 2009 12:35:37 -0700 Subject: Staging: hv: osd: remove PrintBytes wrapper Use the "real" print_hex_dump_bytes call instead of a wrapper function. Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/include/logging.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'drivers/staging/hv/include') diff --git a/drivers/staging/hv/include/logging.h b/drivers/staging/hv/include/logging.h index 54af17a..f77c517 100644 --- a/drivers/staging/hv/include/logging.h +++ b/drivers/staging/hv/include/logging.h @@ -117,26 +117,4 @@ extern unsigned int vmbus_loglevel; #define DPRINT_EXIT(mod) #endif -static inline void PrintBytes(const unsigned char* bytes, int len) -{ - int i=0; - - printk("\n<< "); - for (i=0; i< len; i++) - { - printk("0x%x ", bytes[i]); - } - printk(">>\n"); -} - -// -// Inline -// -//static inline void GuidToStr(const GUID g, char *str) -//{ -// sprintf(str, "{%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x%02x%02x}", -// g[3], g[2], g[1], g[0], g[5], g[4], g[7], g[6], g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15]); -// -//} - #endif //_LOGGING_H_ -- cgit v1.1