From: Mauro Carvalho Chehab Date: Mon, 28 Nov 2011 23:58:54 +0000 (-0200) Subject: [media] tm6000: Warning cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=36d36b884c745c507d9b3f60eb42925749f7d758;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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 */