[media] tm6000: Warning cleanup
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Nov 2011 23:58:54 +0000 (21:58 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Nov 2011 23:58:54 +0000 (21:58 -0200)
drivers/media/video/tm6000/tm6000-video.c: In function ‘tm6000_release’:
drivers/media/video/tm6000/tm6000-video.c:1608:7: warning: unused variable ‘err’ [-Wunused-variable]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tm6000/tm6000-video.c

index 4db3535..436fd67 100644 (file)
@@ -1605,8 +1605,6 @@ static int tm6000_release(struct file *file)
        res_free(dev, fh);
 
        if (!dev->users) {
-               int err;
-
                tm6000_uninit_isoc(dev);
 
                /* Stop interrupt USB pipe */