aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFreddie Chopin <freddie_chopin@op.pl>2011-06-03 22:13:35 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-04 09:46:48 +0200
commitf499bab6984c815b8d7aea49bafcc85ac4beb522 (patch)
tree30e0f138f46b7110dea51bbb7723d52a03ef52f3 /src
parentf6315d5e5b7b71515ef051711e5f818a42d6b3b3 (diff)
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - dubious fixes
Diffstat (limited to 'src')
-rw-r--r--src/target/arm11_dbgtap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c
index 4e90933d..5c671cc5 100644
--- a/src/target/arm11_dbgtap.c
+++ b/src/target/arm11_dbgtap.c
@@ -1045,10 +1045,6 @@ static inline struct arm11_common *dpm_to_arm11(struct arm_dpm *dpm)
static int arm11_dpm_prepare(struct arm_dpm *dpm)
{
- struct arm11_common *arm11 = dpm_to_arm11(dpm);
-
- arm11 = container_of(dpm->arm, struct arm11_common, arm);
-
return arm11_run_instr_data_prepare(dpm_to_arm11(dpm));
}