Commit 3fb79913 authored by Stefan Hajnoczi's avatar Stefan Hajnoczi Committed by Greg Kroah-Hartman

staging: line6: drop unused pod atomic_flags field

Signed-off-by: default avatarStefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 79038f61
...@@ -131,15 +131,6 @@ static char *pod_alloc_sysex_buffer(struct usb_line6_pod *pod, int code, ...@@ -131,15 +131,6 @@ static char *pod_alloc_sysex_buffer(struct usb_line6_pod *pod, int code,
size); size);
} }
/*
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. Process a completely received message.
*/ */
...@@ -166,7 +157,6 @@ 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_DEVICE:
case LINE6_PROGRAM_CHANGE | LINE6_CHANNEL_HOST: 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_request_async(&pod->dumpreq, &pod->line6, 0,
LINE6_DUMP_CURRENT); LINE6_DUMP_CURRENT);
break; break;
...@@ -196,7 +186,6 @@ void line6_pod_process_message(struct usb_line6_pod *pod) ...@@ -196,7 +186,6 @@ void line6_pod_process_message(struct usb_line6_pod *pod)
break; break;
case POD_SYSEX_SAVE: case POD_SYSEX_SAVE:
pod_save_button_pressed(pod, buf[6], buf[7]);
break; break;
case POD_SYSEX_STORE: case POD_SYSEX_STORE:
......
...@@ -83,11 +83,6 @@ struct usb_line6_pod { ...@@ -83,11 +83,6 @@ struct usb_line6_pod {
*/ */
int startup_progress; int startup_progress;
/**
Some atomic flags.
*/
unsigned long atomic_flags;
/** /**
Serial number of device. Serial number of device.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment