Skip to content

Commit

Permalink
dp: swdp_bitbang: fix unused variable build error
Browse files Browse the repository at this point in the history
The variable config in sw_port_off() is not used, and it's
causing CI build error about unused variable. So remove it.

Signed-off-by: Daniel Leung <[email protected]>
  • Loading branch information
dcpleung authored and mmahadevan108 committed Oct 11, 2024
1 parent 10d4973 commit 1ec5ce0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dp/swdp_bitbang.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ static int sw_port_off(const struct device *dev)

static int sw_gpio_init(const struct device *dev)
{
const struct sw_config *config = dev->config;
struct sw_cfg_data *sw_data = dev->data;
int ret;

Expand Down

0 comments on commit 1ec5ce0

Please sign in to comment.