summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/pod.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2012-11-22 20:49:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:11:22 -0800
commit99c54e9830feb746c9175fae887546e741bb56eb (patch)
treea83c1bee273410242e89dbda167da5aa9935b492 /drivers/staging/line6/pod.h
parent5e275f4586484d7a8f17046930f473883a660a73 (diff)
staging: line6: drop tuner_pitch sysfs attr
Dropping this final tuner sysfs attr also leaves the POD_GET_SYSTEM_PARAM() macro, pod_get_system_param_string(), and pod_get_system_param_int() unused. Remove them immediately to avoid compiler warnings. POD_monitor_level is now the only SYSEX value that needs to be watched by the driver since the ALSA volume control should reflect the current monitor volume level used by the device. Therefore, drop the switch statement entirely and just check for POD_monitor_level, ignoring unknown system parameter changes. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/pod.h')
-rw-r--r--drivers/staging/line6/pod.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/line6/pod.h b/drivers/staging/line6/pod.h
index 493074296e97..481cce6c234c 100644
--- a/drivers/staging/line6/pod.h
+++ b/drivers/staging/line6/pod.h
@@ -15,7 +15,6 @@
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/usb.h>
-#include <linux/wait.h>
#include <sound/core.h>
@@ -54,15 +53,6 @@ enum {
};
/**
- Data structure for values that need to be requested explicitly.
- This is the case for system and tuner settings.
-*/
-struct ValueWait {
- int value;
- wait_queue_head_t wait;
-};
-
-/**
Binary PODxt Pro program dump
*/
struct pod_program {
@@ -99,11 +89,6 @@ struct usb_line6_pod {
struct pod_program prog_data_buf;
/**
- Pitch value received from tuner.
- */
- struct ValueWait tuner_pitch;
-
- /**
Instrument monitor level.
*/
int monitor_level;