diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-06 10:18:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-06 10:18:48 -0700 |
commit | cd5098d254a28a5980bc6dec9644f99ee884a548 (patch) | |
tree | 4af4f1878367c88c9303d1b71e20c9b5aa47cb32 /net/bluetooth/lib.c | |
parent | d8588ee5b87226d96e07add42027246746357fe3 (diff) | |
parent | 576c7d858f36cab6110b29db7b53964d5132cf30 (diff) | |
download | kernel-crypto-cd5098d254a28a5980bc6dec9644f99ee884a548.tar.gz kernel-crypto-cd5098d254a28a5980bc6dec9644f99ee884a548.tar.xz kernel-crypto-cd5098d254a28a5980bc6dec9644f99ee884a548.zip |
Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6
Diffstat (limited to 'net/bluetooth/lib.c')
-rw-r--r-- | net/bluetooth/lib.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c index 9efb0a09361..ee6a6697991 100644 --- a/net/bluetooth/lib.c +++ b/net/bluetooth/lib.c @@ -34,31 +34,6 @@ #include <net/bluetooth/bluetooth.h> -void bt_dump(char *pref, __u8 *buf, int count) -{ - char *ptr; - char line[100]; - unsigned int i; - - printk(KERN_INFO "%s: dump, len %d\n", pref, count); - - ptr = line; - *ptr = 0; - for (i = 0; i < count; i++) { - ptr += sprintf(ptr, " %2.2X", buf[i]); - - if (i && !((i + 1) % 20)) { - printk(KERN_INFO "%s:%s\n", pref, line); - ptr = line; - *ptr = 0; - } - } - - if (line[0]) - printk(KERN_INFO "%s:%s\n", pref, line); -} -EXPORT_SYMBOL(bt_dump); - void baswap(bdaddr_t *dst, bdaddr_t *src) { unsigned char *d = (unsigned char *) dst; |