summaryrefslogtreecommitdiffstats
path: root/payloads/coreinfo
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r--payloads/coreinfo/bootlog_module.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/payloads/coreinfo/bootlog_module.c b/payloads/coreinfo/bootlog_module.c
index 280ea510892e..5a87f28340ee 100644
--- a/payloads/coreinfo/bootlog_module.c
+++ b/payloads/coreinfo/bootlog_module.c
@@ -7,14 +7,12 @@
#define LINES_SHOWN 19
#define TAB_WIDTH 2
-
/* Globals that are used for tracking screen state */
static char *g_buf = NULL;
static s32 g_line = 0;
static s32 g_lines_count = 0;
static s32 g_max_cursor_line = 0;
-
/* Copied from libpayload/drivers/cbmem_console.c */
struct cbmem_console {
u32 size;
@@ -25,7 +23,6 @@ struct cbmem_console {
#define CURSOR_MASK ((1 << 28) - 1)
#define OVERFLOW (1 << 31)
-
static u32 char_width(char c, u32 cursor, u32 screen_width)
{
if (c == '\n') {