diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-05-09 19:10:07 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-23 20:38:43 +0900 |
commit | 1dd3cdc7ff3cc190b99be41ab01346ea2039189a (patch) | |
tree | 8d93330017fb8cf548e8febd88f313ff0f6a5bf7 /drivers/staging/cxt1e1 | |
parent | a38223f4c1c0ae5d7448bb49addc6ad499c46442 (diff) |
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>
Diffstat (limited to 'drivers/staging/cxt1e1')
-rw-r--r-- | drivers/staging/cxt1e1/musycc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/cxt1e1/musycc.c b/drivers/staging/cxt1e1/musycc.c index c086c60338e1..a87f80237f47 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; |