aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/kvm.c
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-09-25 14:07:58 +0530
committerMichael Tokarev <mjt@tls.msk.ru>2015-10-08 19:46:01 +0300
commitf9b8e7f63acf9418238444aec654aba249a334ba (patch)
tree6c6cf0e8e9aee250a13f9a83056ca5ab3d549fd2 /target-ppc/kvm.c
parent738c8b01ba4d020ee42c72e83a6aa3d9408a2530 (diff)
target-ppc: Remove unnecessary variable
Compress lines and remove the variable. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-ppc/kvm.c')
-rw-r--r--target-ppc/kvm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
index e641680fb1..f8ea783a6d 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)