]> git.karo-electronics.de Git - linux-beck.git/commit
[media] several drivers: Fix a few gcc 4.6 warnings
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 11 Mar 2011 19:51:18 +0000 (16:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:54:05 +0000 (04:54 -0300)
commit972d724caf8b6c461b585c800d6460a12c098a5e
tree24a3edd3c7f0944ad42b8f95d4d2dc5ba6e045da
parentfa9448d9bdbae42bb10545f6fcfc980f38f53aa8
[media] several drivers: Fix a few gcc 4.6 warnings

au0828-dvb.c:99:6: warning: variable 'ptr' set but not used [-Wunused-but-set-variable]
au0828-video.c:1180:25: warning: variable 'maxheight' set but not used [-Wunused-but-set-variable]
au0828-video.c:1180:15: warning: variable 'maxwidth' set but not used [-Wunused-but-set-variable]
bttv-input.c:196:16: warning: variable 'current_jiffies' set but not used [-Wunused-but-set-variable]

Those variables are not used at all, so just remove them.

Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/au0828/au0828-dvb.c
drivers/media/video/au0828/au0828-video.c
drivers/media/video/bt8xx/bttv-input.c