浏览代码

sh: Kill off more unused sh_bios callbacks.

sh_bios_char_out() is not used by anything in-tree these days, so just
get rid of it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 15 年之前
父节点
当前提交
b9303a7956
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 1
      arch/sh/include/asm/sh_bios.h
  2. 0 5
      arch/sh/kernel/sh_bios.c

+ 0 - 1
arch/sh/include/asm/sh_bios.h

@@ -9,7 +9,6 @@
  * usually from within the early stages of kernel boot.
  * usually from within the early stages of kernel boot.
  */
  */
 extern void sh_bios_console_write(const char *buf, unsigned int len);
 extern void sh_bios_console_write(const char *buf, unsigned int len);
-extern void sh_bios_char_out(char ch);
 extern void sh_bios_gdb_detach(void);
 extern void sh_bios_gdb_detach(void);
 
 
 extern void sh_bios_get_node_addr(unsigned char *node_addr);
 extern void sh_bios_get_node_addr(unsigned char *node_addr);

+ 0 - 5
arch/sh/kernel/sh_bios.c

@@ -34,11 +34,6 @@ void sh_bios_console_write(const char *buf, unsigned int len)
 	sh_bios_call(BIOS_CALL_CONSOLE_WRITE, (long)buf, (long)len, 0, 0);
 	sh_bios_call(BIOS_CALL_CONSOLE_WRITE, (long)buf, (long)len, 0, 0);
 }
 }
 
 
-void sh_bios_char_out(char ch)
-{
-	sh_bios_call(BIOS_CALL_CHAR_OUT, ch, 0, 0, 0);
-}
-
 void sh_bios_gdb_detach(void)
 void sh_bios_gdb_detach(void)
 {
 {
 	sh_bios_call(BIOS_CALL_GDB_DETACH, 0, 0, 0, 0);
 	sh_bios_call(BIOS_CALL_GDB_DETACH, 0, 0, 0, 0);