Skip to content

Commit

Permalink
staging: line6: drop CONFIG_LINE6_USB_RAW
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Hajnoczi authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 59ac693 commit 9f673d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/line6/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 0 additions & 14 deletions drivers/staging/line6/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 9f673d7

Please sign in to comment.