Skip to content

Commit

Permalink
[PARISC] remove unused pdc_iodc_printf function
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Kyle McMartin committed Mar 16, 2008
1 parent e2be75a commit 179183b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions arch/parisc/kernel/pdc_cons.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,6 @@ static void pdc_console_write(struct console *co, const char *s, unsigned count)
pdc_iodc_print(s, count);
}

void pdc_printf(const char *fmt, ...)
{
va_list args;
char buf[1024];
int i, len;

va_start(args, fmt);
len = vscnprintf(buf, sizeof(buf), fmt, args);
va_end(args);

pdc_iodc_print(buf, len);
}

int pdc_console_poll_key(struct console *co)
{
return pdc_iodc_getc();
Expand Down
1 change: 0 additions & 1 deletion include/asm-parisc/pdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,6 @@ void pdc_io_reset(void);
void pdc_io_reset_devices(void);
int pdc_iodc_getc(void);
int pdc_iodc_print(unsigned char *str, unsigned count);
void pdc_printf(const char *fmt, ...);

void pdc_emergency_unlock(void);
int pdc_sti_call(unsigned long func, unsigned long flags,
Expand Down

0 comments on commit 179183b

Please sign in to comment.