Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338244
b: refs/heads/master
c: 3fb7991
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Hajnoczi authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent faae2eb commit 78640b6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79038f61731bf0871d673c03fdc8a641b999f57a
refs/heads/master: 3fb7991319d975a706e452bfa5c96c0af37abeaf
11 changes: 0 additions & 11 deletions trunk/drivers/staging/line6/pod.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,6 @@ static char *pod_alloc_sysex_buffer(struct usb_line6_pod *pod, int code,
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.
*/
Expand All @@ -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;
Expand Down Expand Up @@ -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:
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/line6/pod.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ struct usb_line6_pod {
*/
int startup_progress;

/**
Some atomic flags.
*/
unsigned long atomic_flags;

/**
Serial number of device.
*/
Expand Down

0 comments on commit 78640b6

Please sign in to comment.