summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-06-30 10:52:43 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2008-06-30 10:52:43 +1000
commit3585cb131a5c328d5b57d384bf5e8fd0a9b30bf4 (patch)
tree32c0512fa989a593a60f1c3272a78a8a8a81f079 /net
parentd3bc354ef5f6e30ff83c5bef3ac41a80dfcf380f (diff)
parentca8df090bf2246a07b4c73fb829f003bcbbc7078 (diff)
Merge branch 'quilt/driver-core'
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_sysfs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c
index 84360c117d4e..e13600106c6c 100644
--- a/net/bluetooth/hci_sysfs.c
+++ b/net/bluetooth/hci_sysfs.c
@@ -387,10 +387,6 @@ int hci_register_sysfs(struct hci_dev *hdev)
if (device_create_file(dev, bt_attrs[i]) < 0)
BT_ERR("Failed to create device attribute");
- if (sysfs_create_link(&bt_class->subsys.kobj,
- &dev->kobj, kobject_name(&dev->kobj)) < 0)
- BT_ERR("Failed to create class symlink");
-
return 0;
}
@@ -398,9 +394,6 @@ void hci_unregister_sysfs(struct hci_dev *hdev)
{
BT_DBG("%p name %s type %d", hdev, hdev->name, hdev->type);
- sysfs_remove_link(&bt_class->subsys.kobj,
- kobject_name(&hdev->dev.kobj));
-
device_del(&hdev->dev);
}