From 6f91aae1592c5ca8707b22a7cf0b54979f579cae Mon Sep 17 00:00:00 2001 From: Tarek BOCHKATI Date: Sun, 26 Apr 2020 20:21:16 +0100 Subject: [PATCH] hla: remove unused hl_interface_param_s.api Change-Id: I90a23293c7e3a6067d56e56d186f9f452af7c15e Signed-off-by: Tarek BOCHKATI Reviewed-on: http://openocd.zylin.com/5611 Reviewed-by: Antonio Borneo Tested-by: jenkins --- src/jtag/hla/hla_interface.c | 2 +- src/jtag/hla/hla_interface.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c index 95233c0d7d..6d5cdc5e70 100644 --- a/src/jtag/hla/hla_interface.c +++ b/src/jtag/hla/hla_interface.c @@ -35,7 +35,7 @@ #include -static struct hl_interface_s hl_if = { {0, 0, { 0 }, { 0 }, 0, HL_TRANSPORT_UNKNOWN, false, -1}, 0, 0 }; +static struct hl_interface_s hl_if = { {0, 0, { 0 }, { 0 }, HL_TRANSPORT_UNKNOWN, false, -1}, 0, 0 }; int hl_interface_open(enum hl_transports tr) { diff --git a/src/jtag/hla/hla_interface.h b/src/jtag/hla/hla_interface.h index 262025e981..b6e4a8b92b 100644 --- a/src/jtag/hla/hla_interface.h +++ b/src/jtag/hla/hla_interface.h @@ -41,8 +41,6 @@ struct hl_interface_param_s { /** List of recognised PIDs */ uint16_t pid[HLA_MAX_USB_IDS + 1]; /** */ - unsigned api; - /** */ enum hl_transports transport; /** */ bool connect_under_reset; -- 2.30.2