diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-10 22:21:11 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2014-08-11 17:56:45 +0200 |
commit | 072f210a0d394ba9083323b8bbce6822f1cc2ecb (patch) | |
tree | b28187b605056e84b2a2247d5355a7be7bdff1db /common/lcd.c | |
parent | e6e9cff2dc0e9c526951119c13fd093d2f8101ce (diff) |
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 <jeroen@myspectrum.nl>
Diffstat (limited to 'common/lcd.c')
-rw-r--r-- | common/lcd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/common/lcd.c b/common/lcd.c index 156233f7cb1..c4634fecbe7 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); |