Skip to content

Commit

Permalink
staging: cxt1e1: remove set a value to static variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daeseok Youn authored and Greg Kroah-Hartman committed May 23, 2014
1 parent a38223f commit 1dd3cdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/cxt1e1/musycc.c
Original file line number Diff line number Diff line change
@@ -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 -
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1dd3cdc

Please sign in to comment.