mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
[Bluetooth] Remove unused functions and cleanup symbol exports
This patch removes the unused bt_dump() function and it also removes its BT_DMP macro. It also unexports the hci_dev_get(), hci_send_cmd() and hci_si_event() functions. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
e9a3e671c0
commit
66e8b6c31b
8 changed files with 0 additions and 47 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue