forked from Minki/linux
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 <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a38223f4c1
commit
1dd3cdc7ff
@ -1,5 +1,5 @@
|
|||||||
static unsigned int max_intcnt = 0;
|
static unsigned int max_intcnt;
|
||||||
static unsigned int max_bh = 0;
|
static unsigned int max_bh;
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------
|
/*-----------------------------------------------------------------------------
|
||||||
* musycc.c -
|
* musycc.c -
|
||||||
@ -453,7 +453,7 @@ musycc_chan_restart(mch_t *ch)
|
|||||||
void
|
void
|
||||||
rld_put_led(mpi_t *pi, u_int32_t ledval)
|
rld_put_led(mpi_t *pi, u_int32_t ledval)
|
||||||
{
|
{
|
||||||
static u_int32_t led = 0;
|
static u_int32_t led;
|
||||||
|
|
||||||
if (ledval == 0)
|
if (ledval == 0)
|
||||||
led = 0;
|
led = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user