hello: Delete unused variable 'console_init'
authorMatt Fleming <matt.fleming@intel.com>
Tue, 3 Apr 2012 13:38:08 +0000 (14:38 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 09:58:35 +0000 (10:58 +0100)
Which also gets rid of the following warning,

hello.c:10:12: warning: â€˜console_init’ defined but not used

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/hello.c

index 45bdf57..5b22478 100644 (file)
@@ -7,8 +7,6 @@
 
 #include <console.h>
 
-static int console_init = 0;
-
 void myputchar(int c)
 {
     static com32sys_t ireg;