prevents a clang warning that the function is never used. cc: ag...@denx.de Signed-off-by: Jeroen Hofstee <jer...@myspectrum.nl> --- common/lcd.c | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/common/lcd.c b/common/lcd.c index 19b86b7..98bd78d 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -109,7 +109,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); @@ -345,15 +344,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); -- 1.8.3.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot