Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281339
b: refs/heads/master
c: 188e664
h: refs/heads/master
i:
  281337: e93c8a3
  281335: fae27ee
v: v3
  • Loading branch information
Stefan Hajnoczi authored and Greg Kroah-Hartman committed Dec 10, 2011
1 parent 7c049cb commit f8dcc9e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 21 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: 153e38761d27f29edf436f11da3dbfb4fb8edcc1
refs/heads/master: 188e664502dc47f83775a556e6db52cd8cc0b5fc
6 changes: 1 addition & 5 deletions trunk/drivers/staging/line6/pod.c
Original file line number Diff line number Diff line change
Expand Up @@ -1149,14 +1149,10 @@ static struct snd_kcontrol_new pod_control_monitor = {
static void pod_destruct(struct usb_interface *interface)
{
struct usb_line6_pod *pod = usb_get_intfdata(interface);
struct usb_line6 *line6;

if (pod == NULL)
return;
line6 = &pod->line6;
if (line6 == NULL)
return;
line6_cleanup_audio(line6);
line6_cleanup_audio(&pod->line6);

del_timer(&pod->startup_timer);
cancel_work_sync(&pod->startup_work);
Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/staging/line6/podhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,10 @@ static struct line6_pcm_properties podhd_pcm_properties = {
static void podhd_destruct(struct usb_interface *interface)
{
struct usb_line6_podhd *podhd = usb_get_intfdata(interface);
struct usb_line6 *line6;

if (podhd == NULL)
return;
line6 = &podhd->line6;
if (line6 == NULL)
return;
line6_cleanup_audio(line6);
line6_cleanup_audio(&podhd->line6);
}

/*
Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/staging/line6/toneport.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,10 @@ static struct snd_kcontrol_new toneport_control_source = {
static void toneport_destruct(struct usb_interface *interface)
{
struct usb_line6_toneport *toneport = usb_get_intfdata(interface);
struct usb_line6 *line6;

if (toneport == NULL)
return;
line6 = &toneport->line6;
if (line6 == NULL)
return;
line6_cleanup_audio(line6);
line6_cleanup_audio(&toneport->line6);
}

/*
Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/staging/line6/variax.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,14 +572,10 @@ static DEVICE_ATTR(raw2, S_IWUSR, line6_nop_read, variax_set_raw2);
static void variax_destruct(struct usb_interface *interface)
{
struct usb_line6_variax *variax = usb_get_intfdata(interface);
struct usb_line6 *line6;

if (variax == NULL)
return;
line6 = &variax->line6;
if (line6 == NULL)
return;
line6_cleanup_audio(line6);
line6_cleanup_audio(&variax->line6);

del_timer(&variax->startup_timer1);
del_timer(&variax->startup_timer2);
Expand Down

0 comments on commit f8dcc9e

Please sign in to comment.