V4L/DVB (11083): au0828: remove some unneeded braces
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Sun, 15 Mar 2009 20:43:13 +0000 (17:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:27 +0000 (12:43 -0300)
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>
drivers/media/video/au0828/au0828-video.c

index 96895117a0ce2a705d5e8315192dd6e3035130c0..e7b2733ba86ee65c71558f03c7744fd9d84aaf52 100644 (file)
@@ -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;