Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338221
b: refs/heads/master
c: c9040c8
h: refs/heads/master
i:
  338219: 212237a
v: v3
  • Loading branch information
Stefan Hajnoczi authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent b86c255 commit ed6e07c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 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: b972739fd8aeed17b07c060ab32141a151a4f901
refs/heads/master: c9040c84855afb290413909d24b32a1163a47303
7 changes: 0 additions & 7 deletions trunk/drivers/staging/line6/pod.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ void line6_pod_process_message(struct usb_line6_pod *pod)

PROCESS_SYSTEM_PARAM
(tuner_mute);
PROCESS_SYSTEM_PARAM
(tuner_note);
PROCESS_SYSTEM_PARAM
(tuner_pitch);

Expand Down Expand Up @@ -644,7 +642,6 @@ static ssize_t pod_set_ ## code(struct device *dev, \
}

POD_GET_SET_SYSTEM_PARAM(tuner_mute, 0x0001, 0);
POD_GET_SYSTEM_PARAM(tuner_note, 1);
POD_GET_SYSTEM_PARAM(tuner_pitch, 1);

#undef GET_SET_SYSTEM_PARAM
Expand All @@ -661,7 +658,6 @@ static DEVICE_ATTR(serial_number, S_IRUGO, pod_get_serial_number,
line6_nop_write);
static DEVICE_ATTR(tuner_mute, S_IWUSR | S_IRUGO, pod_get_tuner_mute,
pod_set_tuner_mute);
static DEVICE_ATTR(tuner_note, S_IRUGO, pod_get_tuner_note, line6_nop_write);
static DEVICE_ATTR(tuner_pitch, S_IRUGO, pod_get_tuner_pitch, line6_nop_write);

#ifdef CONFIG_LINE6_USB_RAW
Expand Down Expand Up @@ -747,7 +743,6 @@ static int pod_create_files2(struct device *dev)
CHECK_RETURN(device_create_file(dev, &dev_attr_midi_postprocess));
CHECK_RETURN(device_create_file(dev, &dev_attr_serial_number));
CHECK_RETURN(device_create_file(dev, &dev_attr_tuner_mute));
CHECK_RETURN(device_create_file(dev, &dev_attr_tuner_note));
CHECK_RETURN(device_create_file(dev, &dev_attr_tuner_pitch));

#ifdef CONFIG_LINE6_USB_RAW
Expand All @@ -774,7 +769,6 @@ static int pod_try_init(struct usb_interface *interface,

/* initialize wait queues: */
init_waitqueue_head(&pod->tuner_mute.wait);
init_waitqueue_head(&pod->tuner_note.wait);
init_waitqueue_head(&pod->tuner_pitch.wait);

/* initialize USB buffers: */
Expand Down Expand Up @@ -870,7 +864,6 @@ void line6_pod_disconnect(struct usb_interface *interface)
device_remove_file(dev, &dev_attr_midi_postprocess);
device_remove_file(dev, &dev_attr_serial_number);
device_remove_file(dev, &dev_attr_tuner_mute);
device_remove_file(dev, &dev_attr_tuner_note);
device_remove_file(dev, &dev_attr_tuner_pitch);

#ifdef CONFIG_LINE6_USB_RAW
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 @@ -103,11 +103,6 @@ struct usb_line6_pod {
*/
struct ValueWait tuner_mute;

/**
Note received from tuner.
*/
struct ValueWait tuner_note;

/**
Pitch value received from tuner.
*/
Expand Down

0 comments on commit ed6e07c

Please sign in to comment.