console: Remove putstr()

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
jtag-port
Benjamin Herrenschmidt 5 years ago
parent 7bc118c7db
commit edbbf9a125

@ -5,6 +5,5 @@ void potato_uart_irq_en(void);
void potato_uart_irq_dis(void);
int getchar(void);
int putchar(int c);
void putstr(const char *str, unsigned long len);
int puts(const char *str);
size_t strlen(const char *s);

@ -107,13 +107,6 @@ int putchar(int c)
return c;
}

void putstr(const char *str, unsigned long len)
{
for (unsigned long i = 0; i < len; i++) {
putchar(str[i]);
}
}

int puts(const char *str)
{
unsigned int i;

Loading…
Cancel
Save