]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[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 4db3535a6b423411125c0333e0f0c81fa7d7180d..436fd67b71ae261eb9a74e58ab12b9af0ecb63c8 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 */