diff options
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
-rw-r--r-- | net/bluetooth/af_bluetooth.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index 03532062a46a..ea616e3fc98e 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <linux/skbuff.h> | 36 | #include <linux/skbuff.h> |
37 | #include <linux/init.h> | 37 | #include <linux/init.h> |
38 | #include <linux/poll.h> | 38 | #include <linux/poll.h> |
39 | #include <linux/proc_fs.h> | ||
40 | #include <net/sock.h> | 39 | #include <net/sock.h> |
41 | 40 | ||
42 | #if defined(CONFIG_KMOD) | 41 | #if defined(CONFIG_KMOD) |
@@ -50,10 +49,7 @@ | |||
50 | #define BT_DBG(D...) | 49 | #define BT_DBG(D...) |
51 | #endif | 50 | #endif |
52 | 51 | ||
53 | #define VERSION "2.7" | 52 | #define VERSION "2.8" |
54 | |||
55 | struct proc_dir_entry *proc_bt; | ||
56 | EXPORT_SYMBOL(proc_bt); | ||
57 | 53 | ||
58 | /* Bluetooth sockets */ | 54 | /* Bluetooth sockets */ |
59 | #define BT_MAX_PROTO 8 | 55 | #define BT_MAX_PROTO 8 |
@@ -312,10 +308,6 @@ static int __init bt_init(void) | |||
312 | { | 308 | { |
313 | BT_INFO("Core ver %s", VERSION); | 309 | BT_INFO("Core ver %s", VERSION); |
314 | 310 | ||
315 | proc_bt = proc_mkdir("bluetooth", NULL); | ||
316 | if (proc_bt) | ||
317 | proc_bt->owner = THIS_MODULE; | ||
318 | |||
319 | sock_register(&bt_sock_family_ops); | 311 | sock_register(&bt_sock_family_ops); |
320 | 312 | ||
321 | BT_INFO("HCI device and connection manager initialized"); | 313 | BT_INFO("HCI device and connection manager initialized"); |
@@ -334,8 +326,6 @@ static void __exit bt_exit(void) | |||
334 | bt_sysfs_cleanup(); | 326 | bt_sysfs_cleanup(); |
335 | 327 | ||
336 | sock_unregister(PF_BLUETOOTH); | 328 | sock_unregister(PF_BLUETOOTH); |
337 | |||
338 | remove_proc_entry("bluetooth", NULL); | ||
339 | } | 329 | } |
340 | 330 | ||
341 | subsys_initcall(bt_init); | 331 | subsys_initcall(bt_init); |