Received: from eggs.gnu.org ([208.118.235.92]:35726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4R3-00051P-7F for qemu-devel@nongnu.org; Fri, 21 Sep 2012 10:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF4Qw-0004KZ-W2 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 10:42:29 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35821 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4Qw-0004KB-QP for qemu-devel@nongnu.org; Fri, 21 Sep 2012 10:42:22 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 21 Sep 2012 16:38:33 +0200 Message-Id: <1348238315-29748-10-git-send-email-afaerber@suse.de> In-Reply-To: <1348238315-29748-1-git-send-email-afaerber@suse.de> References: <1348238315-29748-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 09/11] target-i386: Drop unused setscalar() macro List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , anthony@codemonkey.ws It was only used by now removed setfeatures() function. Suggested-by: Igor Mammedov Signed-off-by: Andreas F=C3=A4rber --- target-i386/cpu.c | 12 ------------ 1 Datei ge=C3=A4ndert, 12 Zeilen entfernt(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 7c0953f..c2e65ea 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1393,18 +1393,6 @@ int cpu_x86_register(X86CPU *cpu, const char *cpu_= model) =20 #if !defined(CONFIG_USER_ONLY) =20 -/* interpret radix and convert from string to arbitrary scalar, - * otherwise flag failure - */ -#define setscalar(pval, str, perr) \ -{ \ - char *pend; \ - unsigned long ul; \ - \ - ul =3D strtoul(str, &pend, 0); \ - *str && !*pend ? (*pval =3D ul) : (*perr =3D 1); \ -} - void cpu_clear_apic_feature(CPUX86State *env) { env->cpuid_features &=3D ~CPUID_APIC; --=20 1.7.10.4