diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2012-11-22 20:49:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 16:13:50 -0800 |
commit | 3fb7991319d975a706e452bfa5c96c0af37abeaf (patch) | |
tree | f20cd9ff32f8a76e27ca65a149a9b4231304b09f /drivers/staging/line6 | |
parent | 79038f61731bf0871d673c03fdc8a641b999f57a (diff) | |
download | linux-3fb7991319d975a706e452bfa5c96c0af37abeaf.tar.bz2 |
staging: line6: drop unused pod atomic_flags field
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6')
-rw-r--r-- | drivers/staging/line6/pod.c | 11 | ||||
-rw-r--r-- | drivers/staging/line6/pod.h | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c index e892b4a2a494..f8257be4ebc7 100644 --- a/drivers/staging/line6/pod.c +++ b/drivers/staging/line6/pod.c @@ -132,15 +132,6 @@ static char *pod_alloc_sysex_buffer(struct usb_line6_pod *pod, int code, } /* - Handle SAVE button. -*/ -static void pod_save_button_pressed(struct usb_line6_pod *pod, int type, - int index) -{ - set_bit(POD_SAVE_PRESSED, &pod->atomic_flags); -} - -/* Process a completely received message. */ void line6_pod_process_message(struct usb_line6_pod *pod) @@ -166,7 +157,6 @@ void line6_pod_process_message(struct usb_line6_pod *pod) case LINE6_PROGRAM_CHANGE | LINE6_CHANNEL_DEVICE: case LINE6_PROGRAM_CHANGE | LINE6_CHANNEL_HOST: - set_bit(POD_CHANNEL_DIRTY, &pod->atomic_flags); line6_dump_request_async(&pod->dumpreq, &pod->line6, 0, LINE6_DUMP_CURRENT); break; @@ -196,7 +186,6 @@ void line6_pod_process_message(struct usb_line6_pod *pod) break; case POD_SYSEX_SAVE: - pod_save_button_pressed(pod, buf[6], buf[7]); break; case POD_SYSEX_STORE: diff --git a/drivers/staging/line6/pod.h b/drivers/staging/line6/pod.h index 52534cae7dba..843eb4ee8124 100644 --- a/drivers/staging/line6/pod.h +++ b/drivers/staging/line6/pod.h @@ -84,11 +84,6 @@ struct usb_line6_pod { int startup_progress; /** - Some atomic flags. - */ - unsigned long atomic_flags; - - /** Serial number of device. */ int serial_number; |