From: Daeseok Youn Date: Fri, 9 May 2014 10:10:07 +0000 (+0900) Subject: staging: cxt1e1: remove set a value to static variable X-Git-Tag: v4.14-rc1~7083^2~39^2~543 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1dd3cdc7ff3cc190b99be41ab01346ea2039189a;p=platform%2Fkernel%2Flinux-rpi.git staging: cxt1e1: remove set a value to static variable cleanup checkpatch.pl error: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/musycc.c b/drivers/staging/cxt1e1/musycc.c index c086c60..a87f802 100644 --- a/drivers/staging/cxt1e1/musycc.c +++ b/drivers/staging/cxt1e1/musycc.c @@ -1,5 +1,5 @@ -static unsigned int max_intcnt = 0; -static unsigned int max_bh = 0; +static unsigned int max_intcnt; +static unsigned int max_bh; /*----------------------------------------------------------------------------- * musycc.c - @@ -453,7 +453,7 @@ musycc_chan_restart(mch_t *ch) void rld_put_led(mpi_t *pi, u_int32_t ledval) { - static u_int32_t led = 0; + static u_int32_t led; if (ledval == 0) led = 0;