Commit 45a82f18 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: line6: Drop usb_device sysfs symlink

It's non-standard and rather superfluous.
Tested-by: default avatarChris Rorvick <>
Signed-off-by: Takashi Iwai's avatarTakashi Iwai <>
parent 988d350a
......@@ -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,
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)
/* 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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment