Commit dfe996f2 authored by Sandhya Bankar's avatar Sandhya Bankar Committed by Greg Kroah-Hartman

Staging: i4l: Do not initialise statics to 0.

Do not initialise statics to 0. Static variable by default initialise to 0,
so no need to explicit initialisation. This issue was found by checkpatch.
Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ccde0dc
...@@ -28,7 +28,7 @@ static unsigned short act2000_isa_ports[] = ...@@ -28,7 +28,7 @@ static unsigned short act2000_isa_ports[] =
static act2000_card *cards = (act2000_card *) NULL; static act2000_card *cards = (act2000_card *) NULL;
/* Parameters to be set by insmod */ /* Parameters to be set by insmod */
static int act_bus = 0; static int act_bus;
static int act_port = -1; /* -1 = Autoprobe */ static int act_port = -1; /* -1 = Autoprobe */
static int act_irq = -1; static int act_irq = -1;
static char *act_id = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; static char *act_id = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment