From 819d647a33beae6d64a0768a4ced3e915a6bcead Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 22 Nov 2012 20:49:17 +0100 Subject: [PATCH] --- yaml --- r: 338240 b: refs/heads/master c: 9f673d7a6022b9425fc412d619fd72bcadcf80c3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/line6/Kconfig | 11 ----------- trunk/drivers/staging/line6/driver.c | 14 -------------- 3 files changed, 1 insertion(+), 26 deletions(-) diff --git a/[refs] b/[refs] index f4cad714526a..cfb500f9f412 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 59ac6936bcb7fc95039eb7813bfb827271185c56 +refs/heads/master: 9f673d7a6022b9425fc412d619fd72bcadcf80c3 diff --git a/trunk/drivers/staging/line6/Kconfig b/trunk/drivers/staging/line6/Kconfig index 80a7202a75af..b63543658b2e 100644 --- a/trunk/drivers/staging/line6/Kconfig +++ b/trunk/drivers/staging/line6/Kconfig @@ -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 diff --git a/trunk/drivers/staging/line6/driver.c b/trunk/drivers/staging/line6/driver.c index e0e07798a637..6f07a06c6dc2 100644 --- a/trunk/drivers/staging/line6/driver.c +++ b/trunk/drivers/staging/line6/driver.c @@ -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. */