staging: line6: drop CONFIG_LINE6_USB_RAW
authorStefan Hajnoczi <stefanha@gmail.com>
Thu, 22 Nov 2012 19:49:17 +0000 (20:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:13:50 +0000 (16:13 -0800)
Now that both pod.c and variax.c have removed their raw sysfs attrs, the
CONFIG_LINE6_USB_RAW config option can be dropped.  The drivers are
being stripped down to just PCM and MIDI I/O so there is less state and
filtering.  Therefore it's no longer necessary to have a special sysfs
attr to bypass the filtering ("raw").

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/Kconfig
drivers/staging/line6/driver.c

index 80a7202a75afdf36f303a066e5f0544cb377eeca..b63543658b2efe5eabad4741b4e31c6dec843841 100644 (file)
@@ -33,17 +33,6 @@ config LINE6_USB_DUMP_PCM
 
          If unsure, say N.
 
-config LINE6_USB_RAW
-       bool "raw data communication"
-       default n
-       help
-         Say Y here to create special files which allow to send raw data
-         to the device. This bypasses any sanity checks, so if you discover
-         the code to erase the firmware, feel free to render your device
-         useless, but only after reading the GPL section "NO WARRANTY".
-
-         If unsure, say N.
-
 config LINE6_USB_IMPULSE_RESPONSE
        bool "measure impulse response"
        default n
index e0e07798a637d0b345fe2187b601343649ff158d..6f07a06c6dc2d5babe896197832c68cceab28672 100644 (file)
@@ -641,20 +641,6 @@ ssize_t line6_nop_write(struct device *dev, struct device_attribute *attr,
        return count;
 }
 
-/*
-       "write" request on "raw" special file.
-*/
-#ifdef CONFIG_LINE6_USB_RAW
-ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr,
-                     const char *buf, size_t count)
-{
-       struct usb_interface *interface = to_usb_interface(dev);
-       struct usb_line6 *line6 = usb_get_intfdata(interface);
-       line6_send_raw_message(line6, buf, count);
-       return count;
-}
-#endif
-
 /*
        Generic destructor.
 */