Commit 4dc5a328 authored by Xin Gao's avatar Xin Gao Committed by Richard Weinberger

um: Do not initialise statics to 0.

do not initialise statics to 0.
Signed-off-by: default avatarXin Gao <gaoxin@cdjrlc.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 3848d470
......@@ -283,7 +283,7 @@ struct unplugged_pages {
};
static DEFINE_MUTEX(plug_mem_mutex);
static unsigned long long unplugged_pages_count = 0;
static unsigned long long unplugged_pages_count;
static LIST_HEAD(unplugged_pages);
static int unplug_index = UNPLUGGED_PER_PAGE;
......
......@@ -106,7 +106,7 @@ static const struct tty_operations ssl_ops = {
/* Changed by ssl_init and referenced by ssl_exit, which are both serialized
* by being an initcall and exitcall, respectively.
*/
static int ssl_init_done = 0;
static int ssl_init_done;
static void ssl_console_write(struct console *c, const char *string,
unsigned len)
......
......@@ -88,7 +88,7 @@ static int con_remove(int n, char **error_out)
}
/* Set in an initcall, checked in an exitcall */
static int con_init_done = 0;
static int con_init_done;
static int con_install(struct tty_driver *driver, struct tty_struct *tty)
{
......
......@@ -1555,7 +1555,7 @@ static void do_io(struct io_thread_req *req, struct io_desc *desc)
int kernel_fd = -1;
/* Only changed by the io thread. XXX: currently unused. */
static int io_count = 0;
static int io_count;
int io_thread(void *arg)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment