aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 06:30:48 -0500
committerTakashi Iwai <tiwai@suse.de>2015-01-28 01:20:28 -0500
commitb55004f9fdee80de1b6982b3e99ebaeb7d1e7a6c (patch)
treefcf5577ffeeaba0f8aca341a340876e72b39a844 /sound/usb
parent6b562f63dd603443c97c885daa2b88bff700b2dc (diff)
ALSA: line6: Remove unused line6_nop_read()
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>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/line6/driver.c10
-rw-r--r--sound/usb/line6/driver.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c
index bf9630cd2395..4d2d233d0505 100644
--- a/sound/usb/line6/driver.c
+++ b/sound/usb/line6/driver.c
@@ -413,16 +413,6 @@ int line6_read_serial_number(struct usb_line6 *line6, int *serial_number)
413EXPORT_SYMBOL_GPL(line6_read_serial_number); 413EXPORT_SYMBOL_GPL(line6_read_serial_number);
414 414
415/* 415/*
416 No operation (i.e., unsupported).
417*/
418ssize_t line6_nop_read(struct device *dev, struct device_attribute *attr,
419 char *buf)
420{
421 return 0;
422}
423EXPORT_SYMBOL_GPL(line6_nop_read);
424
425/*
426 Card destructor. 416 Card destructor.
427*/ 417*/
428static void line6_destruct(struct snd_card *card) 418static void line6_destruct(struct snd_card *card)
diff --git a/sound/usb/line6/driver.h b/sound/usb/line6/driver.h
index efd58ac3215b..a6c0b2f08ba8 100644
--- a/sound/usb/line6/driver.h
+++ b/sound/usb/line6/driver.h
@@ -162,8 +162,6 @@ struct usb_line6 {
162 162
163extern char *line6_alloc_sysex_buffer(struct usb_line6 *line6, int code1, 163extern char *line6_alloc_sysex_buffer(struct usb_line6 *line6, int code1,
164 int code2, int size); 164 int code2, int size);
165extern ssize_t line6_nop_read(struct device *dev,
166 struct device_attribute *attr, char *buf);
167extern int line6_read_data(struct usb_line6 *line6, int address, void *data, 165extern int line6_read_data(struct usb_line6 *line6, int address, void *data,
168 size_t datalen); 166 size_t datalen);
169extern int line6_read_serial_number(struct usb_line6 *line6, 167extern int line6_read_serial_number(struct usb_line6 *line6,