Patchwork exec.c: Remove useless comment

login
register
mail settings
Submitter 陳韋任
Date Sept. 21, 2011, 12:01 p.m.
Message ID <20110921120119.GA62118@cs.nctu.edu.tw>
Download mbox | patch
Permalink /patch/115772/
State New
Headers show

Comments

陳韋任 - Sept. 21, 2011, 12:01 p.m.
As phys_ram_size had been removed since QEMU 0.12. Remove the useless
comment.

Signed-off-by: Chen Wen-Ren <chenwj@iis.sinica.edu.tw>
---
 exec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/exec.c b/exec.c
index c1e045d..9192579 100644
--- a/exec.c
+++ b/exec.c
@@ -476,7 +476,6 @@  static void code_gen_alloc(unsigned long tb_size)
     code_gen_buffer_size = tb_size;
     if (code_gen_buffer_size == 0) {
 #if defined(CONFIG_USER_ONLY)
-        /* in user mode, phys_ram_size is not meaningful */
         code_gen_buffer_size = DEFAULT_CODE_GEN_BUFFER_SIZE;
 #else
         /* XXX: needs adjustments */