diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index e641680fb1461a19b50b76f72763cf2698db4ee9..f8ea783a6d7b2a6f503af8d921bb098be244843c 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -1782,8 +1782,7 @@ uint32_t kvmppc_get_tbfreq(void) ns++; - retval = atoi(ns); - return retval; + return atoi(ns); } bool kvmppc_get_host_serial(char **value)