[media] cx25821-video: remove maxw from cx25821_vidioc_try_fmt_vid_cap
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 18:46:36 +0000 (15:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 19:07:10 +0000 (16:07 -0300)
commit66f93178042b6f151552fdb74cbaa2724e59c97c
tree6be82b33a5ba9aa7a74243e72e6e3a2dede3e7bb
parent7063c1456fc0a6366f467f10e7a35178ecc881ad
[media] cx25821-video: remove maxw from cx25821_vidioc_try_fmt_vid_cap

After cx25821-video cleanup, this var is not used anymore:

drivers/media/pci/cx25821/cx25821-video.c: In function 'cx25821_vidioc_try_fmt_vid_cap':
drivers/media/pci/cx25821/cx25821-video.c:591:15: warning: variable 'maxw' set but not used [-Wunused-but-set-variable]

as the code now checks the max width as the default case for the
range check.

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