From b946bffab5e0d359accfcc78faead20fd69f26e8 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 11 Feb 2013 16:41:24 +0000 Subject: cpus.c: Drop unnecessary set_cpu_log() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Andreas Färber Signed-off-by: Blue Swirl --- include/sysemu/cpus.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/sysemu/cpus.h') diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h index 60e44bb..6502488 100644 --- a/include/sysemu/cpus.h +++ b/include/sysemu/cpus.h @@ -24,7 +24,6 @@ extern int smp_threads; #endif void set_numa_modes(void); -void set_cpu_log(const char *optarg); void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); #endif -- cgit v1.1