sandbox: Drop the printf() in setup_ram_buf()
authorSimon Glass <sjg@chromium.org>
Mon, 8 Apr 2019 19:20:43 +0000 (13:20 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Apr 2019 02:26:43 +0000 (20:26 -0600)
This was really intended for debugging. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c

index e22d65f6d9e59a5c27cb15ee682dcf6666a9170f..82828f0c1d45f5dcbb7fa7e28c6656e468189a3b 100644 (file)
@@ -303,10 +303,8 @@ int board_run_command(const char *cmdline)
 static void setup_ram_buf(struct sandbox_state *state)
 {
        /* Zero the RAM buffer if we didn't read it, to keep valgrind happy */
-       if (!state->ram_buf_read) {
+       if (!state->ram_buf_read)
                memset(state->ram_buf, '\0', state->ram_size);
-               printf("clear %p %x\n", state->ram_buf, state->ram_size);
-       }
 
        gd->arch.ram_buf = state->ram_buf;
        gd->ram_size = state->ram_size;