cpus.c: Drop unnecessary set_cpu_log()
commitb946bffab5e0d359accfcc78faead20fd69f26e8
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Feb 2013 16:41:24 +0000 (11 16:41 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Feb 2013 10:45:19 +0000 (16 10:45 +0000)
tree7a3f19a45dda0c0b377148469a00642d5ae3e53c
parent24537a01910f110fe3e343c13df13e48f7968a9e
cpus.c: Drop unnecessary set_cpu_log()

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 <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.c
include/sysemu/cpus.h
vl.c