]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/line6/podhd.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[~andy/linux] / drivers / staging / line6 / podhd.c
index 6c0f7f21c2481f8861daf5948e95f78cccf2abcc..7ef45437b4f2392726ea7c7493495c049ce170f8 100644 (file)
@@ -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);
 }
 
 /*