summaryrefslogtreecommitdiff
path: root/drivers/media/video/cpia2/cpia2_usb.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-04-22 14:41:48 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:42:20 -0300
commitff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch)
tree496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/cpia2/cpia2_usb.c
parent29bec0bff50d8f8b108ed22e9981eb4635efc566 (diff)
downloadlinux-3.10-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.tar.gz
linux-3.10-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.tar.bz2
linux-3.10-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.zip
V4L/DVB (7094): static memory
- Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cpia2/cpia2_usb.c')
-rw-r--r--drivers/media/video/cpia2/cpia2_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cpia2/cpia2_usb.c b/drivers/media/video/cpia2/cpia2_usb.c
index d8e929863a8..a4574740350 100644
--- a/drivers/media/video/cpia2/cpia2_usb.c
+++ b/drivers/media/video/cpia2/cpia2_usb.c
@@ -84,7 +84,7 @@ static struct usb_driver cpia2_driver = {
*****************************************************************************/
static void process_frame(struct camera_data *cam)
{
- static int frame_count = 0;
+ static int frame_count;
unsigned char *inbuff = cam->workbuff->data;