target/stm8: Remove unused member 'stm8_common'
Change-Id: Ie8b59a82142bfdf2ee9395d38b1bedc27de728b8 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6325 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
ac22cdc573
commit
66334354b7
|
@ -159,7 +159,6 @@ struct stm8_algorithm {
|
||||||
struct stm8_core_reg {
|
struct stm8_core_reg {
|
||||||
uint32_t num;
|
uint32_t num;
|
||||||
struct target *target;
|
struct target *target;
|
||||||
struct stm8_common *stm8_common;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum hw_break_type {
|
enum hw_break_type {
|
||||||
|
@ -1221,7 +1220,6 @@ static struct reg_cache *stm8_build_reg_cache(struct target *target)
|
||||||
for (i = 0; i < num_regs; i++) {
|
for (i = 0; i < num_regs; i++) {
|
||||||
arch_info[i].num = stm8_regs[i].id;
|
arch_info[i].num = stm8_regs[i].id;
|
||||||
arch_info[i].target = target;
|
arch_info[i].target = target;
|
||||||
arch_info[i].stm8_common = stm8;
|
|
||||||
|
|
||||||
reg_list[i].name = stm8_regs[i].name;
|
reg_list[i].name = stm8_regs[i].name;
|
||||||
reg_list[i].size = stm8_regs[i].bits;
|
reg_list[i].size = stm8_regs[i].bits;
|
||||||
|
|
Loading…
Reference in New Issue