Skip to content

Commit

Permalink
char:pcmcia:synclink_cs - Do not initialise statics to 0.
Browse files Browse the repository at this point in the history
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: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Shailendra Verma authored and Greg Kroah-Hartman committed May 31, 2015
1 parent 4e4bd36 commit 208250d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/pcmcia/synclink_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ static int mgslpc_device_count = 0;
* .text section address and breakpoint on module load.
* 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
Expand Down

0 comments on commit 208250d

Please sign in to comment.