summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-11-28 21:58:54 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-28 21:58:54 -0200
commit36d36b884c745c507d9b3f60eb42925749f7d758 (patch)
tree144ddaf7455c4c5c5ab5f98474f31bdb1acd2685
parentedcfdd919a1c8afbf500be0dbfa9b68f40b4c219 (diff)
downloadblackbird-op-linux-36d36b884c745c507d9b3f60eb42925749f7d758.tar.gz
blackbird-op-linux-36d36b884c745c507d9b3f60eb42925749f7d758.zip
[media] tm6000: Warning cleanup
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>
-rw-r--r--drivers/media/video/tm6000/tm6000-video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/tm6000/tm6000-video.c b/drivers/media/video/tm6000/tm6000-video.c
index 4db3535a6b42..436fd67b71ae 100644
--- a/drivers/media/video/tm6000/tm6000-video.c
+++ b/drivers/media/video/tm6000/tm6000-video.c
@@ -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 */
OpenPOWER on IntegriCloud