Skip to content

Commit

Permalink
drivers/cmsis_dap: drop unused variable
Browse files Browse the repository at this point in the history
The variable 'mode' was introduced in
commit 4dc8cd2 ("cmsis-dap: add initial cmsis-dap support")
but never has been used (just cleared)

Change-Id: Ia741d181ee8006bd0d872f3358a57e045235741a
Signed-off-by: Tomas Vanek <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/7965
Reviewed-by: zapb <[email protected]>
Reviewed-by: Antonio Borneo <[email protected]>
Tested-by: jenkins
  • Loading branch information
tom-van authored and borneoa committed Nov 18, 2023
1 parent ba79d50 commit 1c9f4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jtag/drivers/cmsis_dap.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct cmsis_dap {
unsigned int pending_fifo_block_count;

uint16_t caps;
uint8_t mode;

uint32_t swo_buf_sz;
bool trace_enabled;
};
Expand Down

0 comments on commit 1c9f4ac

Please sign in to comment.