aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2008-02-18 17:26:41 -0500
committerKyle McMartin <kyle@shortfin.cabal.ca>2008-03-15 22:11:56 -0400
commit179183bf1fcff3830f0c05058ec0fc4d0878c67c (patch)
tree87e66efa17ae8b93ac66afffcd902899978baf44
parente2be75ae21ea13ca19d4f2c3ff5a8df3f0e6c38e (diff)
[PARISC] remove unused pdc_iodc_printf function
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r--arch/parisc/kernel/pdc_cons.c13
-rw-r--r--include/asm-parisc/pdc.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/parisc/kernel/pdc_cons.c b/arch/parisc/kernel/pdc_cons.c
index 33b1f84441b1..e7afc899d717 100644
--- a/arch/parisc/kernel/pdc_cons.c
+++ b/arch/parisc/kernel/pdc_cons.c
@@ -58,19 +58,6 @@ static void pdc_console_write(struct console *co, const char *s, unsigned count)
58 pdc_iodc_print(s, count); 58 pdc_iodc_print(s, count);
59} 59}
60 60
61void pdc_printf(const char *fmt, ...)
62{
63 va_list args;
64 char buf[1024];
65 int i, len;
66
67 va_start(args, fmt);
68 len = vscnprintf(buf, sizeof(buf), fmt, args);
69 va_end(args);
70
71 pdc_iodc_print(buf, len);
72}
73
74int pdc_console_poll_key(struct console *co) 61int pdc_console_poll_key(struct console *co)
75{ 62{
76 return pdc_iodc_getc(); 63 return pdc_iodc_getc();
diff --git a/include/asm-parisc/pdc.h b/include/asm-parisc/pdc.h
index deda8c311373..b340c42f6bbc 100644
--- a/include/asm-parisc/pdc.h
+++ b/include/asm-parisc/pdc.h
@@ -646,7 +646,6 @@ void pdc_io_reset(void);
646void pdc_io_reset_devices(void); 646void pdc_io_reset_devices(void);
647int pdc_iodc_getc(void); 647int pdc_iodc_getc(void);
648int pdc_iodc_print(unsigned char *str, unsigned count); 648int pdc_iodc_print(unsigned char *str, unsigned count);
649void pdc_printf(const char *fmt, ...);
650 649
651void pdc_emergency_unlock(void); 650void pdc_emergency_unlock(void);
652int pdc_sti_call(unsigned long func, unsigned long flags, 651int pdc_sti_call(unsigned long func, unsigned long flags,