From: Pali Rohár Date: Sat, 28 Apr 2012 07:26:43 +0000 (+0000) Subject: cfb_console: Fix function console_back X-Git-Tag: v2012.07-rc1~39^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04bbe6999048f74af00305cacae14a2d7faf2063;p=u-boot cfb_console: Fix function console_back * Do not disable and enable the cursor again. console_back() is called only from video_putc() which already turns the cursor off at the beginning and turns it on at the end, so there is no need to change the cursor in console_back(). Signed-off-by: Pali Rohár Signed-off-by: Anatolij Gustschin --- diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 904caf7689..51ea1671cf 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -721,7 +721,6 @@ static void console_scrollup(void) static void console_back(void) { - CURSOR_OFF; console_col--; if (console_col < 0) { @@ -730,7 +729,6 @@ static void console_back(void) if (console_row < 0) console_row = 0; } - CURSOR_SET; } static void console_newline(void)