Message ID | 1417350585-22669-13-git-send-email-nikita@compulab.co.il |
---|---|
State | Superseded |
Delegated to: | Anatolij Gustschin |
Headers | show |
On 30 November 2014 at 05:29, Nikita Kiryanov <nikita@compulab.co.il> wrote: > CONSOLE_ROW_SECOND, CONSOLE_ROW_LAST, and > CONSOLE_SCROLL_SIZE are unused. Remove them. > > Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> > Cc: Anatolij Gustschin <agust@denx.de> > Cc: Simon Glass <sjg@chromium.org> > --- > Changes in V2: > - New patch. Acked-by: Simon Glass <sjg@chromium.org> Tested on pit, LCD works fine. Tested-by: Simon Glass <sjg@chromium.org>
diff --git a/common/lcd_console.c b/common/lcd_console.c index 223c9e8..03b4b6a 100644 --- a/common/lcd_console.c +++ b/common/lcd_console.c @@ -12,11 +12,7 @@ #define CONSOLE_ROW_SIZE (VIDEO_FONT_HEIGHT * lcd_line_length) #define CONSOLE_ROW_FIRST lcd_console_address -#define CONSOLE_ROW_SECOND (lcd_console_address + CONSOLE_ROW_SIZE) -#define CONSOLE_ROW_LAST (lcd_console_address + CONSOLE_SIZE \ - - CONSOLE_ROW_SIZE) #define CONSOLE_SIZE (CONSOLE_ROW_SIZE * console_rows) -#define CONSOLE_SCROLL_SIZE (CONSOLE_SIZE - CONSOLE_ROW_SIZE) static short console_curr_col; static short console_curr_row;
CONSOLE_ROW_SECOND, CONSOLE_ROW_LAST, and CONSOLE_SCROLL_SIZE are unused. Remove them. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Anatolij Gustschin <agust@denx.de> Cc: Simon Glass <sjg@chromium.org> --- Changes in V2: - New patch. common/lcd_console.c | 4 ---- 1 file changed, 4 deletions(-)