ALSA: line6: Remove unused line6_nop_read()
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2015 11:30:48 +0000 (12:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:20:28 +0000 (07:20 +0100)
The function isn't used any longer after rewriting from sysfs to leds
class in toneport.c.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c
sound/usb/line6/driver.h

index bf9630cd2395ab16280eebcdb96300ab5525e06c..4d2d233d0505355a5bc514ba91290ac9a1ec48af 100644 (file)
@@ -412,16 +412,6 @@ int line6_read_serial_number(struct usb_line6 *line6, int *serial_number)
 }
 EXPORT_SYMBOL_GPL(line6_read_serial_number);
 
-/*
-       No operation (i.e., unsupported).
-*/
-ssize_t line6_nop_read(struct device *dev, struct device_attribute *attr,
-                      char *buf)
-{
-       return 0;
-}
-EXPORT_SYMBOL_GPL(line6_nop_read);
-
 /*
        Card destructor.
 */
index efd58ac3215bb23cbedd0b9b5c17f51353617695..a6c0b2f08ba8523184486f77e2b151a0eff69112 100644 (file)
@@ -162,8 +162,6 @@ struct usb_line6 {
 
 extern char *line6_alloc_sysex_buffer(struct usb_line6 *line6, int code1,
                                      int code2, int size);
-extern ssize_t line6_nop_read(struct device *dev,
-                             struct device_attribute *attr, char *buf);
 extern int line6_read_data(struct usb_line6 *line6, int address, void *data,
                           size_t datalen);
 extern int line6_read_serial_number(struct usb_line6 *line6,