qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 5/6] cpus.c: Drop unnecessary set_cpu_log()


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 5/6] cpus.c: Drop unnecessary set_cpu_log()
Date: Mon, 11 Feb 2013 20:29:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Am 11.02.2013 17:41, schrieb Peter Maydell:
> The set_cpu_log() function in cpus.c is a fairly simple wrapper
> which is only called from one location. Just inline the code
> into vl.c, since there is no need to indirect it via cpus.c
> and the handling of the error case is more appropriate to vl.c.
> 
> Signed-off-by: Peter Maydell <address@hidden>
> ---
>  cpus.c                |   12 ------------
>  include/sysemu/cpus.h |    1 -
>  vl.c                  |    9 ++++++++-
>  3 files changed, 8 insertions(+), 14 deletions(-)

Reviewed-by: Andreas Färber <address@hidden>

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]