From: Tarek BOCHKATI Date: Sun, 26 Apr 2020 19:21:16 +0000 (+0100) Subject: hla: remove unused hl_interface_param_s.api X-Git-Tag: v0.11.0-rc1~309 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=6f91aae1592c5ca8707b22a7cf0b54979f579cae 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 --- 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;