From: Kyle McMartin Date: Mon, 18 Feb 2008 22:26:41 +0000 (-0800) Subject: [PARISC] remove unused pdc_iodc_printf function X-Git-Tag: v2.6.25-rc6~1^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=179183bf1fcff3830f0c05058ec0fc4d0878c67c;p=linux-2.6-omap-h63xx.git [PARISC] remove unused pdc_iodc_printf function Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/kernel/pdc_cons.c b/arch/parisc/kernel/pdc_cons.c index 33b1f84441b..e7afc899d71 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) 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(); diff --git a/include/asm-parisc/pdc.h b/include/asm-parisc/pdc.h index deda8c31137..b340c42f6bb 100644 --- a/include/asm-parisc/pdc.h +++ b/include/asm-parisc/pdc.h @@ -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,