]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
lcd: remove unused lcd_puts_xy
authorJeroen Hofstee <jeroen@myspectrum.nl>
Thu, 10 Jul 2014 20:21:11 +0000 (22:21 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 11 Aug 2014 15:56:45 +0000 (17:56 +0200)
prevents a clang warning that the function is
never used.

cc: agust@denx.de
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
common/lcd.c

index 156233f7cb1733a071a304886cd197b8954cbb11..c4634fecbe7ac62854096cd0842511d95ce6f3ad 100644 (file)
 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);