From f499bab6984c815b8d7aea49bafcc85ac4beb522 Mon Sep 17 00:00:00 2001 From: Freddie Chopin Date: Fri, 3 Jun 2011 22:13:35 +0200 Subject: Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - dubious fixes --- src/target/arm11_dbgtap.c | 4 ---- 1 file changed, 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)); } -- cgit v1.2.3