summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-07-17 04:08:31 (GMT)
committerSimon Glass <sjg@chromium.org>2017-07-28 18:02:47 (GMT)
commit47b98ad0f6779485d0f0c14f337c3eece273eb54 (patch)
tree3d3dd603cf20680d3a7694b2f790bf167754cd94 /arch/sandbox
parentfd73621cba2c4b20e8a65e0b4c40c9026018e434 (diff)
downloadu-boot-fsl-qoriq-47b98ad0f6779485d0f0c14f337c3eece273eb54.tar.xz
sandbox: remove os_putc() and os_puts()
They are unused since commit d8c6fb8cedbc ("sandbox: Drop special case console code for sandbox"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/cpu/os.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index 7243bfc..22d6aab 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -413,17 +413,6 @@ int os_get_filesize(const char *fname, loff_t *size)
return 0;
}
-void os_putc(int ch)
-{
- putchar(ch);
-}
-
-void os_puts(const char *str)
-{
- while (*str)
- os_putc(*str++);
-}
-
int os_write_ram_buf(const char *fname)
{
struct sandbox_state *state = state_get_current();