Patchwork [Qemu-trivial] exec.c: Remove useless comment

login
register
mail settings
Submitter 陳韋任
Date Oct. 21, 2011, 9:57 a.m.
Message ID <20111021095709.GA10092@cs.nctu.edu.tw>
Download mbox | patch
Permalink /patch/120970/
State New
Headers show

Comments

陳韋任 - Oct. 21, 2011, 9:57 a.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(-)
Stefan Hajnoczi - Oct. 26, 2011, 12:43 p.m.
On Fri, Oct 21, 2011 at 05:57:09PM +0800, 陳韋任 wrote:
>   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(-)

Thanks, applied to the trivial patches tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

Stefan

Patch

diff --git a/exec.c b/exec.c
index d0cbf15..fb21e76 100644
--- a/exec.c
+++ b/exec.c
@@ -472,7 +472,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 */