OSDN Git Service

staging: sm750fb: remove intialization of static ints
authorSupriya Karanth <iskaranth@gmail.com>
Thu, 12 Mar 2015 04:26:21 +0000 (13:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Mar 2015 17:41:15 +0000 (18:41 +0100)
commitb30edfcd04b5ffdb6b36a5b36a37d911222b9d37
tree72e3680eb6d5d3b62c2f68536b4a2e88969b8a7f
parent6fa7db83e4f9ef5cd820b7c8aba06cd068035641
staging: sm750fb: remove intialization of static ints

static ints are initialized to 0 by the compiler.
Explicit initialization is not necessary.

Found by checkpatch.pl - ERROR: do not initialise statics to 0 or NULL

changes made using coccinelle script:
@@
type T;
identifier var;
@@
static T var
- =0
;

Signed-off-by: Supriya Karanth <iskaranth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c