From: Jeroen Hofstee Date: Thu, 10 Jul 2014 20:21:11 +0000 (+0200) Subject: lcd: remove unused lcd_puts_xy X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=072f210a0d394ba9083323b8bbce6822f1cc2ecb;p=u-boot.git lcd: remove unused lcd_puts_xy prevents a clang warning that the function is never used. cc: agust@denx.de Signed-off-by: Jeroen Hofstee --- diff --git a/common/lcd.c b/common/lcd.c index 156233f7cb..c4634fecbe 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -110,7 +110,6 @@ DECLARE_GLOBAL_DATA_PTR; static void lcd_drawchars(ushort x, ushort y, uchar *str, int count); -static inline void lcd_puts_xy(ushort x, ushort y, uchar *s); static inline void lcd_putc_xy(ushort x, ushort y, uchar c); static int lcd_init(void *lcdbase); @@ -373,15 +372,6 @@ static void lcd_drawchars(ushort x, ushort y, uchar *str, int count) } } -/*----------------------------------------------------------------------*/ - -static inline void lcd_puts_xy(ushort x, ushort y, uchar *s) -{ - lcd_drawchars(x, y, s, strlen((char *)s)); -} - -/*----------------------------------------------------------------------*/ - static inline void lcd_putc_xy(ushort x, ushort y, uchar c) { lcd_drawchars(x, y, &c, 1);