diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-15 21:43:13 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 17:43:27 +0200 |
commit | a1094c4cd10a7075598b73cd0bbf07f6b1acbb6a (patch) | |
tree | fea66641207152a3b8c9f5e0fa0788264173a549 /drivers/media/video/au0828/au0828-video.c | |
parent | V4L/DVB (11082): au0828: remove memset calls in v4l2 routines. (diff) | |
download | linux-a1094c4cd10a7075598b73cd0bbf07f6b1acbb6a.tar.xz linux-a1094c4cd10a7075598b73cd0bbf07f6b1acbb6a.zip |
V4L/DVB (11083): au0828: remove some unneeded braces
There were some braces left behind from when there was more code in the block.
Remove it.
Thanks to Mauro Carvalho Chehab <mchehab@infradead.org> for pointing this out.
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-video.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-video.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/media/video/au0828/au0828-video.c b/drivers/media/video/au0828/au0828-video.c index 96895117a0ce..e7b2733ba86e 100644 --- a/drivers/media/video/au0828/au0828-video.c +++ b/drivers/media/video/au0828/au0828-video.c @@ -1174,22 +1174,18 @@ static int vidioc_s_input(struct file *file, void *priv, unsigned int index) switch(AUVI_INPUT(index).type) { case AU0828_VMUX_SVIDEO: - { dev->input_type = AU0828_VMUX_SVIDEO; break; - } case AU0828_VMUX_COMPOSITE: - { dev->input_type = AU0828_VMUX_COMPOSITE; break; - } case AU0828_VMUX_TELEVISION: - { dev->input_type = AU0828_VMUX_TELEVISION; break; - } default: - ; + dprintk(1, "VIDIOC_S_INPUT unknown input type set [%d]\n", + AUVI_INPUT(index).type); + break; } route.input = AUVI_INPUT(index).vmux; |