diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-19 15:02:30 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-20 08:15:53 +0100 |
commit | 45a82f18913fd9b959f0703ed47750733840e92a (patch) | |
tree | af7471066aa21c3ee54acbc9f0b7aa42ed229e16 /sound/usb | |
parent | 988d350aef30b798198e7915c574f82ba173f40f (diff) | |
download | op-kernel-dev-45a82f18913fd9b959f0703ed47750733840e92a.zip op-kernel-dev-45a82f18913fd9b959f0703ed47750733840e92a.tar.gz |
ALSA: line6: Drop usb_device sysfs symlink
It's non-standard and rather superfluous.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/line6/driver.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c index 149c393..23d504f 100644 --- a/sound/usb/line6/driver.c +++ b/sound/usb/line6/driver.c @@ -611,11 +611,6 @@ int line6_probe(struct usb_interface *interface, if (ret < 0) goto err_destruct; - ret = sysfs_create_link(&interface->dev.kobj, &usbdev->dev.kobj, - "usb_device"); - if (ret < 0) - goto err_destruct; - /* creation of additional special files should go here */ dev_info(&interface->dev, "Line6 %s now attached\n", @@ -649,10 +644,6 @@ void line6_disconnect(struct usb_interface *interface) if (usbdev == NULL) return; - /* removal of additional special files should go here */ - - sysfs_remove_link(&interface->dev.kobj, "usb_device"); - interface_number = interface->cur_altsetting->desc.bInterfaceNumber; line6 = usb_get_intfdata(interface); |