checkpatch: error - initialised_static

Change-Id: I8f51f861e2250c87c296b697ef5b6610ce644b34
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/drivers/console/uart_console.c b/drivers/console/uart_console.c
index 35d530e..4838c1e 100644
--- a/drivers/console/uart_console.c
+++ b/drivers/console/uart_console.c
@@ -103,7 +103,7 @@
 #endif
 
 #if defined(CONFIG_CONSOLE_HANDLER)
-static size_t pos = 0;
+static size_t pos;
 
 static struct nano_fifo *avail_queue;
 static struct nano_fifo *lines_queue;
diff --git a/drivers/random/rand32_timer.c b/drivers/random/rand32_timer.c
index 3fd411e..26638cd 100644
--- a/drivers/random/rand32_timer.c
+++ b/drivers/random/rand32_timer.c
@@ -35,7 +35,7 @@
  * Symbols used to ensure a rapid series of calls to random number generator
  * return different values.
  */
-static atomic_val_t _rand32_counter = 0;
+static atomic_val_t _rand32_counter;
 
 #define _RAND32_INC 1000000013
 
diff --git a/drivers/timer/arcv2_timer0.c b/drivers/timer/arcv2_timer0.c
index 0120ed4..916058b 100644
--- a/drivers/timer/arcv2_timer0.c
+++ b/drivers/timer/arcv2_timer0.c
@@ -51,7 +51,7 @@
 #define _ARC_V2_TMR_CTRL_IP 0x8 /* interrupt pending flag */
 
 /* running total of timer count */
-static uint32_t clock_accumulated_count = 0;
+static uint32_t clock_accumulated_count;
 
 
 /**
diff --git a/drivers/timer/cortex_m_systick.c b/drivers/timer/cortex_m_systick.c
index 0d0d0e5..56084ac 100644
--- a/drivers/timer/cortex_m_systick.c
+++ b/drivers/timer/cortex_m_systick.c
@@ -53,7 +53,7 @@
 #endif /* CONFIG_MICROKERNEL */
 
 /* running total of timer count */
-static uint32_t clock_accumulated_count = 0;
+static uint32_t clock_accumulated_count;
 
 /*
  * A board support package's board.h header must provide definitions for the
@@ -101,9 +101,9 @@
 
 #ifdef CONFIG_TICKLESS_IDLE
 static uint32_t __noinit default_load_value; /* default count */
-static uint32_t idle_original_count = 0;
+static uint32_t idle_original_count;
 static uint32_t __noinit max_system_ticks;
-static uint32_t idle_original_ticks = 0;
+static uint32_t idle_original_ticks;
 static uint32_t __noinit max_load_value;
 static uint32_t __noinit timer_idle_skew;
 static unsigned char timer_mode = TIMER_MODE_PERIODIC;
diff --git a/drivers/timer/hpet.c b/drivers/timer/hpet.c
index 21abfa5..6494c70 100644
--- a/drivers/timer/hpet.c
+++ b/drivers/timer/hpet.c
@@ -172,8 +172,8 @@
 		   _timer_int_handler, 0);
 
 #ifdef CONFIG_INT_LATENCY_BENCHMARK
-static uint32_t main_count_first_irq_value = 0;
-static uint32_t main_count_expected_value = 0;
+static uint32_t main_count_first_irq_value;
+static uint32_t main_count_expected_value;
 #endif
 
 #ifdef CONFIG_INT_LATENCY_BENCHMARK
diff --git a/drivers/timer/loapic_timer.c b/drivers/timer/loapic_timer.c
index 6b5bd9c..2e3c680 100644
--- a/drivers/timer/loapic_timer.c
+++ b/drivers/timer/loapic_timer.c
@@ -134,14 +134,14 @@
 
 static uint32_t __noinit cycles_per_tick; /* computed counter 0
 							  initial count value */
-static uint32_t accumulated_cycle_count = 0;
+static uint32_t accumulated_cycle_count;
 
 #if defined(TIMER_SUPPORTS_TICKLESS)
-static uint32_t programmed_cycles = 0;
-static uint32_t programmed_full_ticks = 0;
+static uint32_t programmed_cycles;
+static uint32_t programmed_full_ticks;
 static uint32_t __noinit max_system_ticks;
 static uint32_t __noinit cycles_per_max_ticks;
-static bool timer_known_to_have_expired = false;
+static bool timer_known_to_have_expired;
 static unsigned char timer_mode = TIMER_MODE_PERIODIC;
 #endif /* TIMER_SUPPORTS_TICKLESS */
 
diff --git a/kernel/microkernel/k_task_monitor.c b/kernel/microkernel/k_task_monitor.c
index 98d6db0..1fa52ab 100644
--- a/kernel/microkernel/k_task_monitor.c
+++ b/kernel/microkernel/k_task_monitor.c
@@ -30,8 +30,8 @@
 const int _k_monitor_mask = CONFIG_TASK_MONITOR_MASK;
 
 static struct k_mrec *k_monitor_wptr = k_monitor_buff;
-static int k_monitor_nrec = 0;
-static int K_monitor_wind = 0;
+static int k_monitor_nrec;
+static int K_monitor_wind;
 
 k_task_monitor_hook_t _k_task_switch_callback = NULL;
 
diff --git a/kernel/nanokernel/int_latency_bench.c b/kernel/nanokernel/int_latency_bench.c
index e394dd2..b6af40c 100644
--- a/kernel/nanokernel/int_latency_bench.c
+++ b/kernel/nanokernel/int_latency_bench.c
@@ -32,22 +32,22 @@
  * Timestamp corresponding to when interrupt were turned off.
  * A value of zero indicated interrupt are not currently locked.
  */
-static uint32_t int_locked_timestamp = 0;
+static uint32_t int_locked_timestamp;
 
 /* stats tracking the minimum and maximum time when interrupts were locked */
 static uint32_t int_locked_latency_min = ULONG_MAX;
-static uint32_t int_locked_latency_max = 0;
+static uint32_t int_locked_latency_max;
 
 /* overhead added to intLock/intUnlock by this latency benchmark */
-static uint32_t initial_start_delay = 0;
-static uint32_t nesting_delay = 0;
-static uint32_t stop_delay = 0;
+static uint32_t initial_start_delay;
+static uint32_t nesting_delay;
+static uint32_t stop_delay;
 
 /* counter tracking intLock/intUnlock calls once interrupt are locked */
-static uint32_t int_lock_unlock_nest = 0;
+static uint32_t int_lock_unlock_nest;
 
 /* indicate if the interrupt latency benchamrk is ready to be used */
-static uint32_t int_latency_bench_ready = 0;
+static uint32_t int_latency_bench_ready;
 
 /* min amount of time it takes from HW interrupt generation to 'C' handler */
 uint32_t _hw_irq_to_c_handler_latency = ULONG_MAX;