summaryrefslogtreecommitdiffstats
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir12008-07-19 20:35:29 +0200
committerblueswir12008-07-19 20:35:29 +0200
commit7f626233a07ad47ccc1e9247356af0eaafda7ee8 (patch)
treededc44e0aeb11f9fec4588c5f1a83dad76cb1bd8 /target-sparc
parentImprove the audio driver check (diff)
downloadqemu-7f626233a07ad47ccc1e9247356af0eaafda7ee8.tar.gz
qemu-7f626233a07ad47ccc1e9247356af0eaafda7ee8.tar.xz
qemu-7f626233a07ad47ccc1e9247356af0eaafda7ee8.zip
Remove unused variable
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4908 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/op_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 06bc3ce494..96b7320437 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -2152,8 +2152,6 @@ void helper_st_asi(target_ulong addr, target_ulong val, int asi, int size)
void helper_ldda_asi(target_ulong addr, int asi, int rd)
{
- unsigned int i;
-
if ((asi < 0x80 && (env->pstate & PS_PRIV) == 0)
|| (asi >= 0x30 && asi < 0x80 && !(env->hpstate & HS_PRIV)))
raise_exception(TT_PRIV_ACT);