]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Eliminate unnecessary get_cpuid_vendor() function
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 3 Feb 2015 17:57:50 +0000 (15:57 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 9 Mar 2015 19:30:02 +0000 (16:30 -0300)
commit5eb2f7a4df03b53f7eaf56d2dd53d75328909826
treedf9624d0b0df2c3ef14946e4b0c4f6733bf62480
parent8c3329e50ad74245acbea89bdaa8af12ecf4972c
target-i386: Eliminate unnecessary get_cpuid_vendor() function

The function was used in only two places. In one of them, the function
made the code less readable by requiring temporary te[bcd]x variables.
In the other one we can simply inline the existing code.

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c