Skip to content

Commit

Permalink
V4L/DVB (11083): au0828: remove some unneeded braces
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent c888923 commit a1094c4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions drivers/media/video/au0828/au0828-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a1094c4

Please sign in to comment.