summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>2011-09-16 14:15:13 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-16 20:45:46 +0200
commite313e1f9832c442e7981e0f01b6778b1fa8f07f5 (patch)
tree11117f8ab7590e6f018ca15c3717d3a3fc4f9b48
parent527db49d91763b5c0f8fe800c13f2f6a738b8249 (diff)
downloadop-kernel-dev-e313e1f9832c442e7981e0f01b6778b1fa8f07f5.zip
op-kernel-dev-e313e1f9832c442e7981e0f01b6778b1fa8f07f5.tar.gz
Staging: cx25821: Fix braces around statements in cx25821-video.c
Delete braces around single statements. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/cx25821/cx25821-video.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/cx25821/cx25821-video.c b/drivers/staging/cx25821/cx25821-video.c
index 020db63..c54d309 100644
--- a/drivers/staging/cx25821/cx25821-video.c
+++ b/drivers/staging/cx25821/cx25821-video.c
@@ -98,9 +98,8 @@ struct cx25821_fmt *cx25821_format_by_fourcc(unsigned int fourcc)
{
unsigned int i;
- if (fourcc == V4L2_PIX_FMT_Y41P || fourcc == V4L2_PIX_FMT_YUV411P) {
+ if (fourcc == V4L2_PIX_FMT_Y41P || fourcc == V4L2_PIX_FMT_YUV411P)
return formats + 1;
- }
for (i = 0; i < ARRAY_SIZE(formats); i++)
if (formats[i].fourcc == fourcc)
@@ -147,9 +146,8 @@ void cx25821_video_wakeup(struct cx25821_dev *dev, struct cx25821_dmaqueue *q,
/* count comes from the hw and it is 16bit wide --
* this trick handles wrap-arounds correctly for
* up to 32767 buffers in flight... */
- if ((s16) (count - buf->count) < 0) {
+ if ((s16) (count - buf->count) < 0)
break;
- }
do_gettimeofday(&buf->vb.ts);
buf->vb.state = VIDEOBUF_DONE;
OpenPOWER on IntegriCloud