diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-16 12:35:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:48 -0700 |
commit | 04f50c4d25184edb5a47dc0dcbcf8f71c42e7a16 (patch) | |
tree | bb38392f70e921fad967753932fbcab2106cb49b /drivers/staging/hv/include | |
parent | a14bd58cd39b6af4d9af5827c5c70c4582c5b486 (diff) | |
download | op-kernel-dev-04f50c4d25184edb5a47dc0dcbcf8f71c42e7a16.zip op-kernel-dev-04f50c4d25184edb5a47dc0dcbcf8f71c42e7a16.tar.gz |
Staging: hv: osd: remove PrintBytes wrapper
Use the "real" print_hex_dump_bytes call instead of a wrapper function.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/include')
-rw-r--r-- | drivers/staging/hv/include/logging.h | 22 |
1 files changed, 0 insertions, 22 deletions
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_ |