Commit 208250dd authored by Shailendra Verma's avatar Shailendra Verma Committed by Greg Kroah-Hartman

char:pcmcia:synclink_cs - Do not initialise statics to 0.

Static variables are initialised to 0 by GCC.
Fixes the following checkpatch error:
ERROR: do not initialise statics to 0 or NULL
FILE: drivers/char/pcmcia/synclink_cs.c:440:
static bool break_on_load = 0;
Signed-off-by: default avatarShailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e4bd36f
...@@ -437,7 +437,7 @@ static int mgslpc_device_count = 0; ...@@ -437,7 +437,7 @@ static int mgslpc_device_count = 0;
* .text section address and breakpoint on module load. * .text section address and breakpoint on module load.
* This is useful for use with gdb and add-symbol-file command. * This is useful for use with gdb and add-symbol-file command.
*/ */
static bool break_on_load=0; static bool break_on_load;
/* /*
* Driver major number, defaults to zero to get auto * Driver major number, defaults to zero to get auto
......
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