Commit 47b98ad0f6779485d0f0c14f337c3eece273eb54
Committed by
Simon Glass
1 parent
fd73621cba
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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>
Showing 2 changed files with 0 additions and 31 deletions Side-by-side Diff
arch/sandbox/cpu/os.c
... | ... | @@ -413,17 +413,6 @@ |
413 | 413 | return 0; |
414 | 414 | } |
415 | 415 | |
416 | -void os_putc(int ch) | |
417 | -{ | |
418 | - putchar(ch); | |
419 | -} | |
420 | - | |
421 | -void os_puts(const char *str) | |
422 | -{ | |
423 | - while (*str) | |
424 | - os_putc(*str++); | |
425 | -} | |
426 | - | |
427 | 416 | int os_write_ram_buf(const char *fname) |
428 | 417 | { |
429 | 418 | struct sandbox_state *state = state_get_current(); |
include/os.h
... | ... | @@ -241,26 +241,6 @@ |
241 | 241 | int os_get_filesize(const char *fname, loff_t *size); |
242 | 242 | |
243 | 243 | /** |
244 | - * Write a character to the controlling OS terminal | |
245 | - * | |
246 | - * This bypasses the U-Boot console support and writes directly to the OS | |
247 | - * stdout file descriptor. | |
248 | - * | |
249 | - * @param ch Character to write | |
250 | - */ | |
251 | -void os_putc(int ch); | |
252 | - | |
253 | -/** | |
254 | - * Write a string to the controlling OS terminal | |
255 | - * | |
256 | - * This bypasses the U-Boot console support and writes directly to the OS | |
257 | - * stdout file descriptor. | |
258 | - * | |
259 | - * @param str String to write (note that \n is not appended) | |
260 | - */ | |
261 | -void os_puts(const char *str); | |
262 | - | |
263 | -/** | |
264 | 244 | * Write the sandbox RAM buffer to a existing file |
265 | 245 | * |
266 | 246 | * @param fname Filename to write memory to (simple binary format) |
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b
-
mentioned in commit 0b189b