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

Submitted by 陳韋任 on Oct. 21, 2011, 9:57 a.m.

Details

Message ID 20111021095709.GA10092@cs.nctu.edu.tw
State New
Headers show

Commit Message

陳韋任 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(-)

Comments

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 hide | download patch | download mbox

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 */