Skip to content

Commit d02b0d9

Browse files
dcpleungrlubos
authored andcommitted
[nrf fromtree] dp: swdp_bitbang: fix unused variable build error
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]> (cherry picked from commit 1ec5ce0)
1 parent 6c3c818 commit d02b0d9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/dp/swdp_bitbang.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,6 @@ static int sw_port_off(const struct device *dev)
677677

678678
static int sw_gpio_init(const struct device *dev)
679679
{
680-
const struct sw_config *config = dev->config;
681680
struct sw_cfg_data *sw_data = dev->data;
682681
int ret;
683682

0 commit comments

Comments
 (0)